EDU Arduino API
|
KETCube Arduino Analog IO API. More...
Data Fields | |
Analog_init_t | init |
Initialize Analog To Digital Converter (ADC) More... | |
Analog_read_t | read |
Read analog value from one of the analog pins (ADC capability) More... | |
Analog_write_t | write |
Write analog value to the AN PIN. More... | |
Analog_init_t ketCube_Arduino_API_t::Analog::init |
Initialize Analog To Digital Converter (ADC)
Analog_read_t ketCube_Arduino_API_t::Analog::read |
Read analog value from one of the analog pins (ADC capability)
pin | digital PIN, ketCube_Arduino_pin_t |
mv | voltage level in millivolts, 0 is returned if PIN has not ADC capability |
Analog_write_t ketCube_Arduino_API_t::Analog::write |
Write analog value to the AN PIN.
mv | voltage level in millivolts |