Provando a compilare un sketch mi da un sacco di errori tipo:
tencoder_a_stati_finiti.pde:-1: error: ‘pinMode’ was not declared in this scope
tencoder_a_stati_finiti.pde:-1: error: ‘digitalWrite’ was not declared in this scope
tencoder_a_stati_finiti.pde:-1: error: ‘canold_a’ was not declared in this scope
tencoder_a_stati_finiti.pde:-1: error: ‘canold_b’ was not declared in this scope
tencoder_a_stati_finiti.pde:-1: error: ‘millis’ was not declared in this scope
tencoder_a_stati_finiti.pde:-1: error: ‘delay’ was not declared in this scope
tencoder_a_stati_finiti.cpp: In function ‘void loop()’:
tencoder_a_stati_finiti.pde:-1: error: ‘millis’ was not declared in this scope
tencoder_a_stati_finiti.cpp: In function ‘void Tempo(int, int, int)’:
tencoder_a_stati_finiti.pde:-1: error: ‘segno’ was not declared in this scope
tencoder_a_stati_finiti.pde:-1: error: ‘segno’ was not declared in this scope
tencoder_a_stati_finiti.cpp: In function ‘void timer()’:
tencoder_a_stati_finiti.pde:-1: error: ‘can_a’ was not declared in this scope
tencoder_a_stati_finiti.pde:-1: error: ‘digitalRead’ was not declared in this scope
tencoder_a_stati_finiti.pde:-1: error: ‘can_b’ was not declared in this scope
tencoder_a_stati_finiti.pde:-1: error: ‘canold_a’ was not declared in this scop
Il programma e composto da lo sketch principale e due funzioni.
Ciao tecno