18 lines
304 B
C
18 lines
304 B
C
#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);
|
|
}
|
|
}
|