Does anyone know of a library that can read a quadrature encoder and can calculate speed, acceleration, declaration, position etc Searched the net by found nothing yet
I ran Ubuntu fine, but is now running Mint (a Ubuntu derivative). There is/was an issue occasionally with the USB drivers under Linux. You may want to search for this in the Ubuntu forum.
Does the standard Arduino IDE run and download fine ?
digitalWrite (LED_PIN, received == 0); // turn on LED if error
// only send once per successful change if (received) old_level = level;
} // end of loop
Errors are: sketch_jan14a.cpp: In function ‘void loop()’: sketch_jan14a.cpp:62:35: error: ‘sendMsg’ was not declared in this scope sketch_jan14a.cpp:67:62: error: ‘recvMsg’ was not declared in this scope
But what do I replace the sendMsg with. I have looked through the SoftwareSerial.cpp and .h files but nothing springs to mind
I can't for the life of me work out why the code below doesn't work. Never gets to the ELSE statement, something keeps changing the "pinstate" back to zero
Cheers K
Code:
void BlinkLED13() { // blinks LED 13 int pinstate; // state of the output pin