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]
Exactly what is writen in manual :D I2C Slave send 1 bit response after each byte received. If that bit is missing, then command will jump to label. If label is not present, it will just ignore it,...
I didn't mean the speeds, I mean not noticing they were no longer Defines, but Variables and Constants. I would have spent countless hours looking at my code. :D
I'm working on a piece of code I found in another thread about a DS3231 RTC. Unfortunately, the used I2CWRITE command has an optional label to jump to. I don't get what the label is there for....
The timings depend on the type of LCD controller. Ususally the defaults of the manual are OK in most cases. As Darrel stated they are not optional and should always be on the top of the program. ...
Wow, I haven't used this routine yet, but I have to admit I would have fallen victim to that pesky detail as well. :wink: I added a NOTE to post #1 in case it helps someone.
I just noticed this gem from Darrel: https://dt.picbasic.co.uk/CODEX/AtoDAveraging
Yeah, I updated my post with a comment to clear that. I didn't field particularly clever after racking my brains trying to find the most efficient way to move data around. :D
OK, if you drop length then makes sense. Using length variable in the STR modifier on the other hand, is very clever. Ioannis
That was one area that had me overthinking USART. STR ArrayVar\n{\c}, receives a maximum of n bytes, unless it receives character c. If I misinterpreted the manual, I'd definitely appreciate...
The stop character in the Hserin command is needed if you do not know the length of the string. Since you define the length at the beginning of the transmission, and then use it in the STR...
loop:
Re: I2CWRITE "Label" option - what does it do?
Exactly what is writen in manual :D
pedja089 Today, 01:48I2C Slave send 1 bit response after each byte received. If that bit is missing, then command will jump to label. If label is not present, it will just ignore it,...