migration to platformio

This commit is contained in:
Marcel 2024-05-23 16:16:00 +02:00
commit cad91967b1
22 changed files with 2985 additions and 0 deletions

15
src/context.h Normal file
View 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;
};