Pages: 1 [2]   Go Down
Author Topic: Beta Users Needed - Teleduino - Control your Arduino via a web service  (Read 4223 times)
0 Members and 1 Guest are viewing this topic.
New Zealand
Offline Offline
Newbie
*
Karma: 1
Posts: 31
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The heartbeat does look neat on the Adafruit Printer. If you like, you could modify the part of the Teleduino library that is used for the 'ping' method (lines 232 - 249 of version 328-0.6.5). You'll need to select a different pin for the status LED in the header part of the sketch, one that supports PWM. Just make sure that the method doesn't take too long to execute because it ties up the Arduino and would cause other instructions to get queued (the current ping method only delays for 10ms).

The reason behind using pin 8 for the status LED is to keep the PWM outputs available for projects (otherwise it would have made sense to use pin 9, so that it's physically next to the 4 pins that are used by the Ethernet shield).

Thanks!
Logged

Arduino Internet / Web Control with Teleduino
https://www.teleduino.org

Pages: 1 [2]   Go Up
Jump to: