You don't need to - by restructuring the code, Alex has eliminated the problem! My extra wait line was just a workaround. If someone were to translate the Python back into C, the problem would no longer be there.pmj1979 wrote:@pmj1979
Can you detail what changes might be made and where to fix the LED1 issue when it script first starts?
The two versions are identical apart from the calls to the GPIO.poglad wrote:
EDIT: Well that's the case in the rg version anyhow. I don't use Wiring Pi so I haven't tried the other one!
It would be great to get anywhere near that goal. I wonder how easily understandable to beginners the function calls are in the leds program? I'm pretty much a beginner myself, so I suppose they must be reasonably understandable.poglad wrote:If your Python translations can present something understandable to the novice and high quality then great stuff.
Thanks, that sounds like great fun Ken. I'm hoping to be at the November one.KenT wrote:Not surprised that the software implementation of PWM is jittery although I am surprised there is a difference between the releases of Raspbian. I noticed a lot of jitter when I did that python code timing exercise reported on the MK Jam forum. If you are interested I will bring my scope to the next Milton Keynes jam and have a look at the PWM output.
Hi Alex,alexeames wrote:Well there's been over 100 downloads of the Python Gertboard software so far. I wonder if anybody else apart from the one or two I've heard from has had a chance to try any of the programs yet?
Sorry I have had no time.alexeames wrote:Well there's been over 100 downloads of the Python Gertboard software so far. I wonder if anybody else apart from the one or two I've heard from has had a chance to try any of the programs yet?
Unfortunately I'm in the same boat as you, mate - with one of the rev 1 boards (or "collectors editions" as they should be called!)alexeames wrote:Excellent. Glad they worked for you. You didn't happen to use a Rev 2 Pi did you? I'm hoping someone can test out the new board Revision checking feature of the LEDs program with a Rev 2. I'll probably buy one anyway, but not today Good luck with the RISCOS version.
Users browsing this forum: No registered users and 1 guest