Skip to main content

# signal_generator_board_rpc #

This project provides a RPC interface for a signal-generator board design based on the [ATMEGA328][1] processor _(the processor used in the Arduino [Uno][2])_. The RPC interface is based on the [arduino_rpc][3] project.

# API Example #

Below, we show an example session interacting with the signal-generator board through a serial stream.

>>> from signal_generator_board_rpc import SignalGeneratorBoard
>>> s = SignalGeneratorBoard(‘/dev/ttyUSB0’)

free memory: 191 >>> s. s.config_version s.ram_free s.set_waveform_voltage s.forward_i2c_request s.set_hf_amplitude_correction s.vout_pk_pk s.i2c_address s.set_i2c_address s.waveform_frequency s.load_config s.set_pot s.waveform_voltage s.pot s.set_waveform_frequency >>> s.wave s.waveform_frequency s.waveform_voltage >>> s.waveform_frequency() 1000.0 >>> s.waveform_voltage() 0.0 >>> s.set_waveform_frequency(frequency=1000.1010) <signal_generator_board_rpc.protobuf_commands.SetWaveformFrequencyResponse object at 0x7f477cb446e0> >>> s.waveform_frequency() 1000.1010131835938 >>> s.set_waveform_voltage(vrms=1.01) 0 >>> s.waveform_voltage() 1.0099999904632568 >>> hex(s.i2c_address()) ‘0x10’ >>> s.set_i2c_address(address=0x11) <signal_generator_board_rpc.protobuf_commands.SetI2cAddressResponse object at 0x7f477cb44830> >>> hex(s.i2c_address()) ‘0x11’

[1]: http://www.atmel.ca/devices/ATMEGA328.aspx [2]: http://arduino.cc/en/Main/arduinoBoardUno [3]: https://github.com/wheeler-microfluidics/arduino_rpc

Metadata

Release files for wheeler.signal_generator_board_rpc 0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wheeler.signal_generator_board_rpc 0.3
File Size Uploaded Provenance Actions
wheeler.signal_generator_board_rpc-0.3.tar.gz 121.0 kB Without provenance Details for wheeler.signal_generator_board_rpc-0.3.tar.gz

Release files / wheeler.signal_generator_board_rpc-0.3.tar.gz

Download URL wheeler.signal_generator_board_rpc-0.3.tar.gz
Size 121.0 kB
Tags Source
SHA-256 checksum
How to use checksums
46c26758f30522f1f06b5e274d325f39bb8cbf64f25b38f767c9a5f93d0eec62
BLAKE2b-256 checksum
How to use checksums
55d30415a79472a6aa83459706144329e5bf54a8e3324621def83e4186a4a0de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for wheeler.signal_generator_board_rpc 0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page