Hello Unregistered ,
Hello, thank you for visiting the picbasic users forum. Just a little note to remind you that, if your have registeted for a user account and you have not logged in and posted a message, unused accounts are deleted from time to time.
We track user account usage. As part of our general maintenaince and to meet the GDPR requirments, we have elected to delete user accounts that are unused.
We define unused as:
NOT haveing ever posted a message on the forum
AND
NOT having logged in for more than 360 days.
If you find that your account is deleted, because of inactivity, you will need to contact the forum administrator to have the account re-instated. email: [email protected]
I suppose so. This is from the datasheet for TXSTA register:
I would not give up on the 18877 chip. Sometimes the view seems great but has pitfalls and all you need is to sleep on this. Next day will come the aha moment! Ioannis
DT-INTS should close with a @INT_RETURN since this macro restores some registers. Ioannis
If you want, you may include that label in case the I2C device fails to communicate. So you can give the user a message that something was wrong. Ioannis
Obviously it will not compile when you define variables like this Dim 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
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...
Re: Framing error if I disable transmitter after shift register is empty?
I suppose so. This is from the datasheet for TXSTA register:
Demon Today, 20:22