Shield Code 6.0
|
Manages simultaneous sweep for two Pip sensors. A bit hacky, but allows easily managing simultaneous sweeping while keeping data separate and clean. More...
#include <PipController.hpp>
Public Member Functions | |
PipController (Pip &pip1, Pip &pip2) | |
void | sweep () |
Sweeps both DACs simultaneously, reads both ADC channels. Note that ADC sampling alternates between each pip channel. | |
Private Attributes | |
Pip & | pip1 |
Pip & | pip2 |
Manages simultaneous sweep for two Pip sensors. A bit hacky, but allows easily managing simultaneous sweeping while keeping data separate and clean.
Definition at line 10 of file PipController.hpp.
Definition at line 15 of file PipController.hpp.
|
inline |
Sweeps both DACs simultaneously, reads both ADC channels. Note that ADC sampling alternates between each pip channel.
Definition at line 19 of file PipController.hpp.
|
private |
Definition at line 12 of file PipController.hpp.
|
private |
Definition at line 13 of file PipController.hpp.