I am working on syneregy S7 mcu, and using the rtc driver with sub-clock and its backed by battery. the date and time change properly no issues in that. But if i set the week day dateandtime.tm_wday=0-7;
in return i only get 0 irrespective of what ever value i set as weekday the date and time counter works fine but the weekday counter starts from 0 only not able to set the value in it.
using SSP1.6.0 e2 studioVersion: 7.3.0
What is the code you are using to set tm_wday value? The day of the week should be in the range of 0 to 6.
In reply to Jeremy: