|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
Go to the source code of this file.
Macros | |
| #define | PINS_ACTIVE_LAYOUT sense_board_pins::PT_Board |
Functions | |
| float | convert_code_to_voltage (int32_t code) |
| void | setup () |
| void | loop () |
Variables | |
| static ADS126X | ads126x |
| constexpr const Layout & | Pins |
| #define PINS_ACTIVE_LAYOUT sense_board_pins::PT_Board |
| float convert_code_to_voltage | ( | int32_t | code | ) |
| void loop | ( | ) |
Definition at line 71 of file main.cpp.
References ads126x, convert_code_to_voltage(), delayMicroseconds(), digitalRead(), LOW, Pins, and Serial.
| void setup | ( | void | ) |
Definition at line 22 of file main.cpp.
References ads126x, ADS126X_RATE_38400, ADS126X_SINC4, ADS126X_TDAC, ADS126X_TDAC_DIV_0_5, ADS126X_TDAC_DIV_0_6, INPUT, pinMode(), Pins, Serial, and SPI_MODE1.
|
constexpr |
Definition at line 161 of file sense_board_pins.h.