The Shift register you mentioned is the 2 Bytes Buffer?
Ioannis
Even on the latest PBP version the DEFINES are there for the LCD setup.
I realized now that you confused the LCD_anypin of Darrel's setup with the original LCD setup of PBP.
Two different...
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...
Re: BME280 via I2C?
Obviously it will not compile when you define variables like this
Ioannis Today, 18:14Dim dig_T1 As Word, dig_P1 As Word, dig_H1 As Byte, dig_H2 As Integer
Use the correct PBP syntax and try again.
Ioannis