Moved screens to subfolder
This commit is contained in:
parent
bd7a616e2b
commit
9b62af6f11
@ -1,5 +1,5 @@
|
|||||||
#include "ScreenSetTime.h"
|
#include "ScreenSetTime.h"
|
||||||
#include "ScreenMenu.h"
|
#include "Screen/ScreenMenu.h"
|
||||||
#include "ExposureTimer.h"
|
#include "ExposureTimer.h"
|
||||||
#include "Buzzer.h"
|
#include "Buzzer.h"
|
||||||
#include "Config.h"
|
#include "Config.h"
|
||||||
@ -8,12 +8,12 @@
|
|||||||
void ScreenSetTime::printExposureTime()
|
void ScreenSetTime::printExposureTime()
|
||||||
{
|
{
|
||||||
getDisplay()->setCursor(0, 1);
|
getDisplay()->setCursor(0, 1);
|
||||||
printTime(ExposureTime);
|
printTime(ExposureTime);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void ScreenSetTime::onShow()
|
void ScreenSetTime::onShow()
|
||||||
{
|
{
|
||||||
getDisplay()->setCursor(0, 0);
|
getDisplay()->setCursor(0, 0);
|
||||||
getDisplay()->print("Exposure time: ");
|
getDisplay()->print("Exposure time: ");
|
||||||
|
|
||||||
@ -36,7 +36,7 @@ void ScreenSetTime::onButton()
|
|||||||
void ScreenSetTime::onEncoder(long lastPosition, long newPosition)
|
void ScreenSetTime::onEncoder(long lastPosition, long newPosition)
|
||||||
{
|
{
|
||||||
buzzSelect();
|
buzzSelect();
|
||||||
|
|
||||||
if (newPosition > lastPosition)
|
if (newPosition > lastPosition)
|
||||||
ExposureTime += ExposureTime >= LargeStepTreshold ? LargeStep : SmallStep;
|
ExposureTime += ExposureTime >= LargeStepTreshold ? LargeStep : SmallStep;
|
||||||
else if (ExposureTime > 0)
|
else if (ExposureTime > 0)
|
@ -4,7 +4,7 @@
|
|||||||
#include <LiquidCrystal.h>
|
#include <LiquidCrystal.h>
|
||||||
#include "Config.h"
|
#include "Config.h"
|
||||||
#include "ScreenManager.h"
|
#include "ScreenManager.h"
|
||||||
#include "ScreenSetTime.h"
|
#include "Screen/ScreenSetTime.h"
|
||||||
#include "Buzzer.h"
|
#include "Buzzer.h"
|
||||||
#include "ExposureTimer.h"
|
#include "ExposureTimer.h"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user