#include <Loom_BatchSD.h>
Basic wrapper for SD to manage batch uploading
◆ Loom_BatchSD()
Loom_BatchSD::Loom_BatchSD |
( |
Loom_Hypnos & |
hypnos, |
|
|
int |
batchSize |
|
) |
| |
Construct a new BatchSD instance
- Parameters
-
hypnos | Reference to the hypnos to manage the SD card |
◆ getBatch()
File & Loom_BatchSD::getBatch |
( |
| ) |
|
Return a pointer to the open memory read from arduino
◆ getBatchSize()
int Loom_BatchSD::getBatchSize |
( |
| ) |
|
|
inline |
Get the specified size of the batch
◆ getCurrentBatch()
int Loom_BatchSD::getCurrentBatch |
( |
| ) |
|
|
inline |
Get the current batch we are on
◆ shouldPublish()
bool Loom_BatchSD::shouldPublish |
( |
| ) |
|
Returns if we should publish the data on this batch
The documentation for this class was generated from the following files:
- C:/Users/jwilt/AppData/Local/Arduino15/packages/loom4/hardware/samd/4.5/libraries/Loom/src/Hardware/Loom_BatchSD/Loom_BatchSD.h
- C:/Users/jwilt/AppData/Local/Arduino15/packages/loom4/hardware/samd/4.5/libraries/Loom/src/Hardware/Loom_BatchSD/Loom_BatchSD.cpp