Professional Documents
Culture Documents
Setup
Setup
0
// count encoder pulses on a motor
void setup()
{
Serial.begin(9600);
// pinMode(21, INPUT); // ?
// attachInterrupt(digitalPinToInterrupt(21), speed, FALLING); // ?
}