@@ -4,6 +4,11 @@
#include "chess_assets.h"
+static byte sinus(byte x)
+{
+ return 128 + GD.rsin(128, -16384 + (x << 7));
+}
+
void setup()
{
Serial.begin(1000000); // JCB
@@ -168,6 +168,5 @@ void loop()
}
#endif // }JCB
int t;
- caption(t++, "Graphics by http://www.robotality.com"); // JCB
GD.swap();
@@ -36,7 +36,7 @@ public:
- Serial.begin(115200);
+ Serial.begin(1000000); // JCB
GD.begin();