Home \ Help \ Search \ Login RSS

Welcome, Guest. Please Login

This forum is now READ-ONLY! Please visit http://forum.wiring.co/ for the new forum.

Wiring ForumProgramming Questions & HelpPrograms › led pin 48/0 ?

Page Index Toggle Pages: 1
led pin 48/0 ? (Read 3688 times)
10/29/07 at 18:51:00

kevin   Offline
YaBB Newbies
Dublin

Posts: 12
*
 
Hi there,

I bought a Wiring board over a year ago but never had a chance to play with it. I'm just messing around with it now again and am starting my tests. One thing I noticed was that the in the basic led blink example the ledPin is set to 0. That doesn't work on my board, but setting it to 48 (which I saw on one of the screenshots in the user guide section) does.

I'm just wondering why that is, and if there's any other things I should look out for that are like that.

Thanks
 
IP Logged
 
Reply #1 - 10/29/07 at 19:03:07

barragan   Offline
YaBB Administrator

Posts: 939
*****
 
Pin 48 is the on board diagnostic led, you can blink it as you did changing the example from pin 0 to pin 48. The reason the example comes with pin 0 is because of the electronica diagram used as example http://wiring.org.co/learning/examples/led_blinks.html it ties an LED to digital pin 0.
 
IP Logged
 
Reply #2 - 11/04/07 at 14:22:40

kevin   Offline
YaBB Newbies
Dublin

Posts: 12
*
 
Ahhh, I understand now.

Thanks for the explanation! Smiley
 
IP Logged
 
Page Index Toggle Pages: 1