Search Results - MEL PICBASIC Forum


Search:

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

Search: Search took 0.01 seconds.

  1. Re: Pic18 and RN42 bluetooth communication problem using UART

    for 16mhz

    #CONFIG
    CONFIG WDTEN = ON
    CONFIG PLLDIV = 2
    CONFIG STVREN = ON
    CONFIG XINST = OFF
    CONFIG DEBUG = OFF
    CONFIG CPUDIV = OSC3_PLL3
    CONFIG CP0 = OFF
  2. Re: Pic18 and RN42 bluetooth communication problem using UART

    to send 10
    in little_endian format
    Hserout [10,0]

    or big_endian format
    Hserout [0,10]

    not sure how arduinos go about it they could be big or little endian

    if your values...
  3. Re: Pic18 and RN42 bluetooth communication problem using UART

    wheel ,x,y and button are all ints ie 16 bit signed values ie 8 bytes sent



    are all bytes ie 8 bit unsigned values ie 4 bytes sent



    post your code including the fuse config
  4. Re: Pic18 and RN42 bluetooth communication problem using UART

    @ 4mHz The baudrate error is 8.5 % .Quite likely to cause trouble , the internal osc is quite capable of 8 12 16 24 or 48 MHz operation any one of which would be better than 4 .


    DEFINE...
Results 1 to 4 of 4