fizz.ino 450 B

123456789101112131415161718192021222324
  1. #include <EEPROM.h>
  2. #include <SPI.h>
  3. #include <GD2.h>
  4. void setup()
  5. {
  6. Serial.begin(1000000); // JCB
  7. GD.begin();
  8. }
  9. void loop() //' a{
  10. {
  11. GD.Clear();
  12. GD.Begin(POINTS);
  13. for (int i = 0; i < 100; i++) {
  14. GD.PointSize(GD.random(16 * 50));
  15. GD.ColorRGB(GD.random(256),
  16. GD.random(256),
  17. GD.random(256));
  18. GD.ColorA(GD.random(256));
  19. GD.Vertex2ii(GD.random(480), GD.random(272));
  20. }
  21. GD.swap();
  22. } //' }a