Also I should be using pin 2 on serial as the input? and pin 5 to ground?
Also I should be using pin 2 on serial as the input? and pin 5 to ground?
The Gpio.0 ---->1k resistor---->pin 2 on a DB9 "rxpin" --->computer
Ok cool I left it running for a while and got
80
90
A0
B0
all close so how do I program that into the chip?
I mean permanitly because I think I lost it on a number of chips when I very first started.
Using Pic Kit 1 I don't see a way to manually set it.
Last edited by geckogrotto; - 4th September 2006 at 04:47.
Also could I get a sample of using SERIN?
I have tried this and it outputs the hello world and then waits there and never loops. So I can only assume that its not getting the "A" char when I try and send it.
InputSig var GPIO.0
loop:
SerOut Inputsig,N2400,["Hello World",13,10]
Serin InputSig,N2400,["A"]
Pause 200
GoTo loop
must be a copy/paste error...Code:SerOut Inputsig............ Serin InputSig............
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Originally Posted by mister_e
Not sure what you are trying to tell me but I'm still stuck.
you send on the same pin you receive?
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks