I follow the instruction on:
and everything works fine - thanks.
now running demo_rtcmemory_int.py i get:
OSError: Device or resource busy
so i try to find what is wrong and found this post:
i understand that the setup of the rtc pi load the driver when the pi is boot
and the driver probably use the smbus, so its already busy when i try to run the demo.
following the post above, unloading manually the driver in terminal commands:
$ lsmod | grep rtc -->>>> shows the ds_1307 driver
$ rmmod rtc-ds1307
Now, running demo_rtcmemory_int.py works fine!
My question is:
How both can work together:
1. i want the RTC pi to load on boot and set the correct time for the raspberry pi, this is the goal, no ?!
2. i want to use my expansion boards (IO Pi, Servo Pi, ADC ... they all use smbus) while still using the RTC on boot
Can you advise what is the best practice for this issue ?
Many Thanks !