@@ -9,7 +9,7 @@ const xy offscreen = {-16384, -16384};
void setup()
{
- GD.begin();
+ GD.begin(~GD_STORAGE);
for (int i = 0; i < NBLOBS; i++)
blobs[i] = offscreen;
@@ -12,7 +12,7 @@ static byte sinus(byte x)
Serial.begin(1000000); // JCB
LOAD_ASSETS();
GD.BitmapHandle(1);
GD.BitmapSource(CHECKER);
@@ -5,7 +5,7 @@
}
void loop() //' a{
@@ -428,7 +428,7 @@ void loop()
game_setup();
@@ -133,7 +133,7 @@ static void draw(int xx)
@@ -244,7 +244,7 @@ static void draw(int t)
Serial.begin(1000000);
// GD.wr32(REG_PWM_HZ, 18000); GD.wr(REG_PWM_DUTY, 64);
static void ray(int &x, int &y, int r, int i)
#define DARK_GREEN 0x007000 //' a{
void setup() //' a{
Serial.begin(115200); // JCB
GD.cmd_memset(0, 0, long(GD.w) * GD.h); // clear the bitmap
GD.Clear(); // draw the bitmap
@@ -6,7 +6,7 @@
@@ -9,7 +9,7 @@ static int a[256]; //' A{
LOAD_ASSETS(); //' }load
for (int i = 0; i < 256; i++)
a[i] = GD.random(512);
@@ -10,7 +10,7 @@ static byte prevkey;
memset(message, 7, 40);
#define TAG_DIAL 200