Won't work
kalvin
Posts: 4
I'm new to this forum and any help would be appreciated.
I got the prop. about last month, and now i finally found some time to dig it out of the closet. I decided to try a simple circut on a bread board i had using the schmatics from the propeller pdf file. I rigged it up with a led on pin 1, turned it on, and typed a program. Led wouldn't shine. · I tried again but this time used an npn transistor, didn't help. I know my program is right (just three lines) and i know the led works and i know i didn't fry my prop because I can download my program. The only thing i can think of is that my batteries·are depelted·(i don't have a regulator, my bread board has a 3v supply line), but when i replaced those same story. Please help!?!!
I got the prop. about last month, and now i finally found some time to dig it out of the closet. I decided to try a simple circut on a bread board i had using the schmatics from the propeller pdf file. I rigged it up with a led on pin 1, turned it on, and typed a program. Led wouldn't shine. · I tried again but this time used an npn transistor, didn't help. I know my program is right (just three lines) and i know the led works and i know i didn't fry my prop because I can download my program. The only thing i can think of is that my batteries·are depelted·(i don't have a regulator, my bread board has a 3v supply line), but when i replaced those same story. Please help!?!!
Comments
Did you connect the LED right? Check the program agenst the schematic. Are you using a prop plug or a USB to serial converter or did you build your own serial to prop? Check to make sure that the LED works, and that your batterys are good and you don't have too much current draw.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Toys are microcontroled.
Robots are microcontroled.
I am microcontrolled.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
· -- Carl, nn5i@arrl.net
program is:
pub main
dira~~
outa~
outa~~
I tried using different pins, no luck.
I have a prop plug.
Your program is fine, except it's probably finishing before you can see it. Try a "repeat" at the end to keep the cog alive
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
Post Edited (Beau Schwabe (Parallax)) : 4/24/2009 4:24:32 PM GMT
P.S. You might here more noob questions from me latter. [noparse];)[/noparse]
Thanks again.
waitcnt(80_000_000 + cnt)
between the outa~ and outa~~ lines to extend the on-time of the LED.