Explorar el Código

Display digit as it is spoken

jamesbowman hace 8 años
padre
commit
674668c1b9
Se han modificado 1 ficheros con 8 adiciones y 1 borrados
  1. 8 1
      noisy.ino

+ 8 - 1
noisy.ino

@@ -37,5 +37,12 @@ static void saydigit(byte n)
 
 void loop()
 {
-  saydigit(GD.random(10)); delay(1000);
+  int n = GD.random(10);
+
+  GD.Clear();
+  GD.cmd_number(240, 136, 31, OPT_CENTER, n);
+  GD.swap();
+
+  saydigit(n);
+  delay(1000);
 } //' }A