This commit is contained in:
sirlilpanda
2025-08-28 21:19:47 +12:00
commit d4e72630e9
12 changed files with 2829 additions and 0 deletions

22
src/main.c Normal file
View File

@@ -0,0 +1,22 @@
#include "states/state.h"
#include "device.h"
int main() {
Device_t device;
initDevice(&device);
// sets the device to off on start up
setOffState(&device);
// turn on the device
device.methods.pressPwr(&device);
// send the current string
device.methods.pressStrInput(&device);
// send in the right string
device.entered_string = "pwd";
device.methods.pressStrInput(&device);
return 0;
}