Search Results - MEL PICBASIC Forum


Search:

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

Search: Search took 0.00 seconds.

  1. Replies
    0
    Views
    4,524

    SPI and example spislave.pbp

    We have two pics talking using hardware SPI based on the spislave.pbp example.


    ' SETUP CHIP CLOCK SPEED
    DEFINE OSC 20

    ' Set all analog ports on 18F2420 to digital operation
    ADCON1 = 15 ...
  2. Re: SERIN2, SEROUT2,& HSEROUT works great, HSERIN not working

    Steve,

    Thanks for the reply. I did as you said and added the following...

    DEFINE HSER_RCSTA 90h ' Enable serial port & continuous receive
    DEFINE HSER_TXSTA 24h ' Enable transmit, BRGH = 1...
  3. Re: SERIN2, SEROUT2,& HSEROUT works great, HSERIN not working

    Dave, thanks for the response.

    The SerIn2 GPSin,baud19200 is only used in the first example (SERIN2 example). And SPBRG = 64 ' 9600 Baud is only used in the second example (HSERIN). I was...
  4. SERIN2, SEROUT2,& HSEROUT works great, HSERIN not working

    Using all the information found here on the forums (thanks to all that help answer questions on the forum) we have a working SERIN2 program. We would like to convert the program to HSERIN to...
Results 1 to 4 of 4