migration to platformio
This commit is contained in:
commit
cad91967b1
22 changed files with 2985 additions and 0 deletions
15
src/context.h
Normal file
15
src/context.h
Normal file
|
@ -0,0 +1,15 @@
|
|||
#pragma once
|
||||
#include <DFRobotDFPlayerMini.h>
|
||||
#include "station.h"
|
||||
|
||||
class Context {
|
||||
public:
|
||||
Context(Station* stations, int stationCount, unsigned long delta, DFRobotDFPlayerMini* dfPlayer);
|
||||
|
||||
Station* stations;
|
||||
int stationCount;
|
||||
unsigned long delta;
|
||||
DFRobotDFPlayerMini* dfPlayer;
|
||||
|
||||
int getStationIndex(const Station* station) const;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue