#include <SAT_Spectro.h>
SAT_Spectro::SAT_Spectro |
( |
uint8_t |
id | ) |
|
Constructor that has a single ID parameter.
- Parameters
-
id | - The id of the user's arduino on the ArduSat. This allows the supervisor to know which arduino node to send the data back to. The id is assigned by NanoSatisfi. |
void SAT_Spectro::onReceiveChunk |
( |
void(*)(size_t, boolean) |
, |
|
|
byte * |
, |
|
|
size_t |
|
|
) |
| |
- Parameters
-
function(size_t,boolean) | size_t is returned chunk size, the boolean is a done flag |
appbuf | a pointer to the application buffer to be filled with a chunk of data from the spectruino |
buffer_len | the maximum buffer size of the application buffer |
void SAT_Spectro::set_exposure |
( |
uint8_t |
setting | ) |
|
Sets the exposure on the spectrometer.
- Parameters
-
setting | - A value from 1-99. |
void SAT_Spectro::take_sample |
( |
void |
| ) |
|
Initiates the taking from a spectrometer sample
The documentation for this class was generated from the following file: