/************************************* * arduino-library-er1400 * Author: Michel Bats * Website: www.batssoft.nl * File name: erase.ino *************************************/ #include #include #define PIN_CLK 2 #define PIN_C1 3 #define PIN_C2 4 #define PIN_C3 5 #define PIN_OUT 6 #define PIN_IN 7 ER1400 er1400(PIN_CLK, PIN_C1, PIN_C2, PIN_C3, PIN_OUT, PIN_IN); void setup() { int i; // Loop through the 100 positions of the ER1400 for (i = 0; i < 100; i++) { // Erase the information on position i er1400.eraseData(i); } } void loop() { }