The last byte DOES get transmitted.
TXSTA.5 = 1 ' TXEN: Transmit Enable bit
hserout ["1"]
pause 1
hserout ["2"]
pause 1
hserout ["3"]
pause 1
I thought this would ensure all bytes were transmitted?
while TXSTA.1 = 0
wend
I don't see why a 16F1937 could not do this reliably...?
I'm using a 16F1937, and I've done this successully in the past on this PIC model.
Check this out, it's always after the last HSEROUT:
TXSTA.5 = 1 ' TXEN: Transmit...
does the AI have a big grin on its face when it tries to pass that off as pbp code ?https://www.picbasic.co.uk/forum/images/icons/icon12.pnghttps://www.picbasic.co.uk/forum/images/icons/icon12.png
richard Today, 09:06as best i can see the data sheet indicates that what u are trying should be ok
9753
could hserout pacing be too slow to buffer tx data, and not really triggering back-back transmissions ?
if...
16F1937
Gutted my program to try to figure this out.
#CONFIG
__CONFIG _CONFIG1, _FOSC_INTOSC & _WDTE_OFF & _PWRTE_ON & _MCLRE_ON & _CP_OFF & _CPD_OFF & _BOREN_OFF & _CLKOUTEN_OFF &...
Hello.
I know there is a library for BME280 via SPI, but most recent modules are I2C only. Is there a way to adapt that code to I2C bus?
9752
I asked AI to generate code for I2C, but it won't...
That was my original goal, to reduce cost, complexity and real estate.
I gotta admit, PPS, was a neat bonus. I was truly impressed with the 16F18877.
to get away from all the needless 7416 chips plus the flexibility of pps as a bonus https://www.picbasic.co.uk/forum/images/icons/icon7.png
richard Yesterday, 06:03
Re: LCD_AnyPin.pbp
Even on the latest PBP version the DEFINES are there for the LCD setup.
Ioannis Today, 18:06I realized now that you confused the LCD_anypin of Darrel's setup with the original LCD setup of PBP.
Two different...