From 9e48dfc4fd53a2bc53367568077fbea44f88eda2 Mon Sep 17 00:00:00 2001 From: "David A. Mellis" Date: Sat, 6 Oct 2007 13:04:46 +0000 Subject: Moving libraries out from inside targets and creating bootloaders directory. --- .../Matrix/examples/hello_matrix/hello_matrix.pde | 39 ---------------------- 1 file changed, 39 deletions(-) delete mode 100644 core/libraries/Matrix/examples/hello_matrix/hello_matrix.pde (limited to 'core/libraries/Matrix/examples/hello_matrix') diff --git a/core/libraries/Matrix/examples/hello_matrix/hello_matrix.pde b/core/libraries/Matrix/examples/hello_matrix/hello_matrix.pde deleted file mode 100644 index b8e1971..0000000 --- a/core/libraries/Matrix/examples/hello_matrix/hello_matrix.pde +++ /dev/null @@ -1,39 +0,0 @@ -// Hello Matrix -// by Nicholas Zambetti - -// Demonstrates the use of the Matrix library -// For MAX7219 LED Matrix Controllers -// Blinks welcoming face on screen - -// Created 13 February 2006 - -/* create a new Matrix instance - pin 0: data (din) - pin 1: load (load) - pin 2: clock (clk) -*/ -Matrix myMatrix = Matrix(0, 2, 1); - -void setup() -{ -} - -void loop() -{ - myMatrix.clear(); // clear display - - delay(1000); - - // turn some pixels on - myMatrix.write(1, 5, HIGH); - myMatrix.write(2, 2, HIGH); - myMatrix.write(2, 6, HIGH); - myMatrix.write(3, 6, HIGH); - myMatrix.write(4, 6, HIGH); - myMatrix.write(5, 2, HIGH); - myMatrix.write(5, 6, HIGH); - myMatrix.write(6, 5, HIGH); - - delay(1000); -} - -- cgit v1.2.3-18-g5258