Re: [jallib] Peripheral hardware and interrupts

2023-06-01 Thread Rob CJ
Hi Vasile, Good suggestion. I will give it a try. Thanks. Kind regards, Rob Van: jallib@googlegroups.com namens vsurducan Verzonden: donderdag 1 juni 2023 20:58 Aan: jallib@googlegroups.com Onderwerp: Re: [jallib] Peripheral hardware and interrupts Hi

Re: [jallib] Peripheral hardware and interrupts

2023-06-01 Thread vsurducan
Hi Rob, Perhaps you should disable/enable interrupts within the I2c procedures and not for the entire main program. The way you did it, by writing a flag in the ISR and reading it in the main is correct. If you need less delay between the main execution and interrupt flag refresh, you should have

[jallib] Peripheral hardware and interrupts

2023-06-01 Thread rob...@hotmail.com
Hi all, I have the following issue and I am interested in either your suggestions or if you encountered the same problem. The example is based on the sample program I made for the real time clock library DS3231. The DS3231 has two alarms and uses the IIC interface. The device has an interrupt

[jallib] [jallib/jallib] aacf5b: Update README.txt

2023-06-01 Thread 'Rob Jansen' via jallib
Branch: refs/heads/master Home: https://github.com/jallib/jallib Commit: aacf5ba5c25b772bd9c82e3e933b5d6e2cdaca0f https://github.com/jallib/jallib/commit/aacf5ba5c25b772bd9c82e3e933b5d6e2cdaca0f Author: Rob Jansen <12682653+robjanse...@users.noreply.github.com> Date: