v20210423
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
/*!
|
||||
erase.ino
|
||||
|
||||
v20210423: Initial version
|
||||
*/
|
||||
|
||||
#include <Arduino.h>
|
||||
|
||||
#include <ER1400.h>
|
||||
#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;
|
||||
for (i = 0; i < 100; i++) {
|
||||
er1400.acceptAddress(i);
|
||||
er1400.erase();
|
||||
er1400.write();
|
||||
}
|
||||
}
|
||||
|
||||
void loop() {
|
||||
}
|
||||
Reference in New Issue
Block a user