Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: andybarrett1; Keyword(s):

Search: Search took 0.00 seconds.

  1. Replies
    15
    Views
    30,257

    Re: Hersin quick question

    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
  2. Replies
    15
    Views
    30,257

    Re: Hersin quick question

    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...
  3. Replies
    15
    Views
    30,257

    Re: Hersin quick question

    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:
  4. Replies
    15
    Views
    30,257

    Re: Hersin quick question

    Sorry it is a 16f628A

    Will check in the next few days

    Thank you for all help so far

    Andy
  5. Replies
    15
    Views
    30,257

    Re: Hersin quick question

    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...
  6. Replies
    15
    Views
    30,257

    Re: Hersin quick question

    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...
  7. Replies
    15
    Views
    30,257

    Re: Hersin quick question

    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
  8. Replies
    15
    Views
    30,257

    Re: Hersin quick question

    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...
  9. Replies
    15
    Views
    30,257

    Hersin quick question

    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...
Results 1 to 9 of 9