won't the LED flash?
Okay so I feel like an idiot for not figuring this out earlier, but I'll
put it down to not writing picolisp before. Anyways, I figured out what
is wrong, sbcl if statement works like so:
(if test-form then-form else-form)
And the Picolisp works the same, and the easiest way
Okay so I feel like an idiot for not figuring this out earlier, but I'll
put it down to not writing picolisp before. Anyways, I figured out what
is wrong, sbcl if statement works like so:
(if test-form then-form else-form)
And the Picolisp works the same, and the easiest way to do multiple
sorry if you already said this but what platform are you using? also a
schematic of your circuit would be interesting even being so simple
On Sun, Dec 20, 2015 at 3:18 AM, Josh wrote:
> Thought it might be a firmware problem or something, so I just re-flashed
> the
No circuit just the plain old Mizar B. The Example from the hempl wiki book is
flashing PB_29. I'm Ubuntu to connect with terminal.
Sent from my iPhone
> On Dec 20, 2015, at 12:12 PM, pd wrote:
>
> sorry if you already said this but what platform are you using? also a
>
Thought it might be a firmware problem or something, so I just
re-flashed the firmware but it's still happening, just eliminating
possibilities. Also the second of my last emails was the correct one, I
canceled the previous but it sent anyways. Thanks.
On 19/12/15 12:50, Josh wrote:
I have
I have put the main code onto the sd card and I use the shell to call
the function prog-loop. The light just stays on. I've had this problem
before with the example blink program, if I change any of it to make it
shorter by using shorter function names like (setq low (pio-pin-setlow
'PB_29))
I have put the main code onto the sd card and I use the shell to call
the function prog-loop. The light just stays on. I've had this problem
before with the example blink program, if I change any of it to make it
shorter by using shorter function names like (de low () (pio-pin-setlow
'PB_29))
Dear Josh, greetings!
Firstly, great to know you're playing with your board! Perfect!
> Why does this small amount of code not make the onboard LED flash?
I think you're not providing enough delay for you to see the off state
of the LED. Why don't you try this? I've just inserted an additional
Thanks for the reply, but that time is 1/5th of the time for the
blinking LED example, and 1/5th a second is enough for an eye to see.
Anyways, this little bit:
> (pio-pin-setlow led)
> (delay 10)
> (pio-pin-sethigh led)
> (delay 10) ) ) )
Is exactly