PDA

View Full Version : Newbie - Simple PicAXE Return



David_Moseley
19-01-2006, 18:06
I purchased the PICAXE-28A Starter Pack. (AXE001). After hooking it up - I can write a simple program in the Program Editor Ver. 4.1.11. It reads as follows:
main: serout 1,n2400,("Hello")
goto main

I've had pauses in there, changed the pin # from 0-30, everything I can think of to get a response back to my PC. I'm using HHD Serial Monitor to watch my ComPort (USB) and I can see my program being sent. I can send data to the PIC via the terminal - however - I cannot get anything FROM the PICAXE - I'm wondering if my program is even making it over - I can hit my reset switch and the Program Editor responds right on que, so my assumption is that it is receiving it. But yet, I get no response back. It looks like my "send" pin is #4 so my serout should be serout 4... But alas, I have not been able to get that to work either. I need some guidance???

Bloody-orc
19-01-2006, 18:11
where is your picaxe-> PC cable connected. if you are using programming cable use serdxt or something like that instead. this sends from the same pin as the programming pin.

David_Moseley
19-01-2006, 18:26
Thanks - that was exactly it. I thought I had done something to destroy it. I really appreciate your help!!!!