added support for structs inside of eeprom memory
This commit is contained in:
parent
d382da0300
commit
c21aa97915
27 changed files with 605 additions and 414 deletions
18
Wrapper-Project/src/library/arduino/arduino_export.h
Normal file
18
Wrapper-Project/src/library/arduino/arduino_export.h
Normal file
|
@ -0,0 +1,18 @@
|
|||
#pragma once
|
||||
#include <Arduboy2.h>
|
||||
|
||||
extern "C"
|
||||
{
|
||||
long arduino_random_between(long min, long max)
|
||||
{
|
||||
return random(min, max);
|
||||
}
|
||||
long arduino_random_less_than(long max)
|
||||
{
|
||||
return random(max);
|
||||
}
|
||||
void arduino_delay(unsigned long ms)
|
||||
{
|
||||
delay(ms);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue