Re: [jallib] DS18B20 was IF/END IF usage limit??

2022-08-06 Thread vsurducan
Hi Rob, When using DS18B20 with an interrupted USB serial driver you also have to turn off the USB interrupts during communication with the sensor. This is mandatory if you have for example 8 sensors which are repeatedly sampled and readed. You know well that you can not turn off GIE because the

Re: [jallib] IF/END IF usage limit??

2022-08-06 Thread vsurducan
If you send more words on RS232 repeatedly you have either to use after each word a delay to allow completion of the transmission or to check if the previous word transmission ended before sending the next word. There is a bit for this on UART. On Sat, Aug 6, 2022 at 10:00 PM flyway38 wrote: >

Re: [jallib] IF/END IF usage limit??

2022-08-06 Thread flyway38
Hi again, Second problem is on receiver side. It seems PIC is sending the right codes. Thank you to all. Cheers, Filipe Santos. On Saturday, August 6, 2022 at 8:00:28 PM UTC+1 flyway38 wrote: > Hi all, > > Problem seems to be solved. > It was due to using AN1 for the button (digital

[jallib] [jallib build] buildbot success in jallib on jallib-standard

2022-08-06 Thread build
Hi guys, This is buildbot speaking. I have finished a build of jallib-standard on jallib. Buildslave for this Build: sebbot Build Reason: Build Source Stamp: HEAD Blamelist: rob.jansen Build succeeded! Logs are attached. sincerely, -The Buildbot -- You received this message because you are

Re: [jallib] IF/END IF usage limit??

2022-08-06 Thread flyway38
Hi all, Problem seems to be solved. It was due to using AN1 for the button (digital behaviour)... Right now am facing new problem. The follwing code seems not working ok; code serial_hw_write_word(0xEF2A + word(RlyCtl)) /code RlyCtl is a pin (bit) When ON, sends to serial; EF2B (correct) When

Re: [jallib] IF/END IF usage limit??

2022-08-06 Thread Rob CJ
Hi Filip, Are you saying that the code is executing slow? If you can share your program or at least the part that is problematic (so it can be reproduced) that could help. BTW (for Vasile ). I recently worked on a problem of Hans using the DS18B20. It did work on one PIC but not on a smaller

Re: [jallib] IF/END IF usage limit??

2022-08-06 Thread flyway38
Hi Vasile, Thank you for the quick reply. Is have that feeling about something not right at some point of the code. In fact tried to exchange some "if/end if" for "case of" but no luck. Problem persists, but it seems only related to "if/end if" usage.. My code reads the ADC (PIC18F2550), for 100

Re: [jallib] IF/END IF usage limit??

2022-08-06 Thread vsurducan
This issue appears usually when you do not manage in a correct way the timing required by a specific hardware and the costs of your code length is higher than required for the device to run properly. Common workaround is to use interrupts or other sequential techniques. Example: DS18B20 is a

[jallib] IF/END IF usage limit??

2022-08-06 Thread flyway38
Hi all, Is there any limit in using IF/ END IF conditions? My code was running good untill added one more IF/END IF. At first didn't realize about a limit in using these conditions code, but then figured out that any other IF/END IF removal would let my code run ok again... Does anyone knows

[jallib] [jallib/jallib] ae8156: Update rtc_ds3231.jal

2022-08-06 Thread 'Rob Jansen' via jallib
Branch: refs/heads/master Home: https://github.com/jallib/jallib Commit: ae81568dd08ab16d91b5f8916c37300e280ef08e https://github.com/jallib/jallib/commit/ae81568dd08ab16d91b5f8916c37300e280ef08e Author: Rob Jansen Date: 2022-08-06 (Sat, 06 Aug 2022) Changed paths: M

[jallib] [jallib/jallib] 094665: Added temperature feature to ds3231 library.

2022-08-06 Thread 'Rob Jansen' via jallib
Branch: refs/heads/master Home: https://github.com/jallib/jallib Commit: 0946659b16e816c75d8f4b27f1c01ae548238d6d https://github.com/jallib/jallib/commit/0946659b16e816c75d8f4b27f1c01ae548238d6d Author: Rob Jansen Date: 2022-08-06 (Sat, 06 Aug 2022) Changed paths: M