Beginner Led blinking pin #4509
Replies: 1 comment
-
Posted at 2015-03-13 by @gfwilliams Hi, You should be able to use pretty much anything here. I'd avoid the ones with Purple boxes by them though - they are sometimes used for other things. The circuit should be the same as for Arduino - just an LED and resistor. Like with the Arduino the LED must be around the correct way though. About the simplest blinking light you can do is as follows - this one will blink the first LED:
For instance try connecting the LED to pin A8, and then type:
Posted at 2015-03-13 by polaroid62 I can do for the first but with the others code nothing happens . I think I will try to make a video Posted at 2015-03-13 by polaroid62 Ok now it's working with A9 but not with A8 Sorry all is ok now I have forgotten to change the pin . Thanks for your help. Posted at 2015-03-13 by @gfwilliams No problem! Glad you got it working! Just so you know, Posted at 2015-03-13 by polaroid62 Ok . It's an amazing board , it could be nice if someone would write a book about Espruino . Next month I will present Espruino to french's javascript developers . Posted at 2015-03-13 by DrAzzy Isn't A9 pulled high by the idle serial port? Posted at 2015-03-13 by @gfwilliams I'm pretty sure A9 is fine once you start to write to it with However because of the STM32F1, it gets interesting if you try and use it for a 'peripheral' that's not GPIO :) The F4 in the Pico has a much better arrangement and won't suffer from those kinds of issues... |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2015-03-13 by polaroid62
Hello , I have received my official board today and I try to make blinking a led on my breadboard and nothings happends. With the same circuit on my Arduino it's ok. Can anyone explain me how we choose the pins?
This is an example in Ruby for arduino wich works well.
Beta Was this translation helpful? Give feedback.
All reactions