Go Down

Topic: 'Hard' Serial Interrupts? (Read 538 times) previous topic - next topic


Hey guys,

I'm looking for a way of recieving interrupting when a 'hard' Serial message has been recieved and handle processing accordingly.

I believe the best example is with the 'Wire' Library which has two methods, onReceive and onRequest.

Does anyone have any tips?


Jun 16, 2009, 05:45 am Last Edit: Jun 16, 2009, 05:45 am by knuckles904 Reason: 1
aside from checking Serial.available() every so often, you could connect the rx pin to an interrupt pin with a resistor and just use a basic interrupt. Check the sleep example to see what i mean: http://www.arduino.cc/playground/Learning/ArduinoSleepCode
I hope thats what you meant

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131