Shield Code 6.0
Loading...
Searching...
No Matches
PipController Class Reference

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>

Collaboration diagram for PipController:

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

Pippip1
 
Pippip2
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ PipController()

PipController::PipController ( Pip pip1,
Pip pip2 
)
inline

Definition at line 15 of file PipController.hpp.

Member Function Documentation

◆ sweep()

void PipController::sweep ( )
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.

Member Data Documentation

◆ pip1

Pip& PipController::pip1
private

Definition at line 12 of file PipController.hpp.

◆ pip2

Pip& PipController::pip2
private

Definition at line 13 of file PipController.hpp.


The documentation for this class was generated from the following file: