21 lines
390 B
C
21 lines
390 B
C
#ifndef __state
|
|
#define __state
|
|
|
|
#include <Arduino.h>
|
|
|
|
uint32_t GetExposureTime();
|
|
void SetExposureTime(uint32_t value);
|
|
|
|
uint8_t GetExposureIntensity();
|
|
void SetExposureIntensity(uint8_t value);
|
|
|
|
|
|
void LoadSettings();
|
|
void SaveSettings();
|
|
|
|
void StartExposureTimer(unsigned long currentTime);
|
|
void ResetExposureTimer();
|
|
uint32_t GetExposureTimeRemaining(unsigned long currentTime);
|
|
|
|
#endif
|