Quantcast
Channel: SparkFun Electronics Comments
Viewing all articles
Browse latest Browse all 44542

Customer #418097 on COM-11323 - EL Sequencer

$
0
0

Hi, everything is going smoothly, thanks for your advises so far. I go my EL SEQ with your sample code(with xbee) working.

I try to modify the code to suit my sketch, but i failed.

what should i add i front of sketch if i want it to be like this

i want my sketch to start running after i type “start” in terminal


??????(what code should i write here)??????

define C 4

define D 5

define E 6

define G 7

void setup(){

pinMode(C, OUTPUT); pinMode(D, OUTPUT); pinMode(E, OUTPUT); pinMode(G, OUTPUT); } void loop(){ digitalWrite(C, HIGH); digitalWrite(D, LOW); delay(662);

digitalWrite(C, LOW); digitalWrite(D, HIGH); delay(666); }


Viewing all articles
Browse latest Browse all 44542

Trending Articles