Re: Why won't the LED flash?

2015-12-21 Thread andreas
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

Re: Why won't the LED flash?

2015-12-20 Thread Josh
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

Re: Why won't the LED flash?

2015-12-20 Thread pd
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

Re: Why won't the LED flash?

2015-12-20 Thread J B
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 >

Re: Why won't the LED flash?

2015-12-19 Thread Josh
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

Re: Why won't the LED flash?

2015-12-19 Thread Josh
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))

Re: Why won't the LED flash?

2015-12-19 Thread Josh
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))

Re: Why won't the LED flash?

2015-12-18 Thread Raman Gopalan
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

Re: Why won't the LED flash?

2015-12-18 Thread Josh
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