Hi all
Have opted for easy way out
Using Serin no problems ....I still don't know what I was getting wrong
Thank you for all the help
Andy
Type: Posts; User: andybarrett1; Keyword(s):
Hi all
Have opted for easy way out
Using Serin no problems ....I still don't know what I was getting wrong
Thank you for all the help
Andy
Well
Out of desperation.... Swapped to using Serin as opposed to Hserin.
All is working as I thought... So pins are right and drivers etc etc
Can only be Config ...(I Think)
But what and...
Hi All
OK I now have set :-
TRISB=%00000111 As per Data sheet ...... Really thought that would cure my issue
Stripped code back to :-
Main:
Sorry it is a 16f628A
Will check in the next few days
Thank you for all help so far
Andy
Hiya
I wondered about the 9615 But manual says is should be that rather than 9600 🤔
Will try the short program when I get the chance and let you know
Thank you for help
Good to know what...
Hiya
Well intermittent read as nothing at all .
Clock works ok ....The IR works ok as do the LEDs ....Proves processor is running
The pauses were put in as a desperate attempt to see...
Hi Henrik
That is exactly what I have got .... Really don't know what I am missing ??
Help very welcome .... I don't do software so go easy on me !
Andy
Hi Thank you for reply
I think I am missing something in my code... I am not a software engineer at all :-)
All I am looking to do is read the serial port Looking for a letter "A" No speech...
Hi Thank you for reading
I am using:-
HSERIN 5000, Timeout, [char]
IF (char="A") THEN
GOSUB somewhere
ENDIF
Just to check a char and turn on an output (via gosub) if that char is same...