RTC component woes | Cypress Semiconductor
RTC component woes
trying to set the rtc values using a struct like in the example and I get this when I try and enter values..
.\main.c: In function 'main':
.\main.c:30:17: error: invalid digit "9" in octal constant
Start.Min = 09u;
it happens for all struct variables.. it only accepts digits 0-7 instead of decimals.
what did I do wrong? otherwise my digital clock using a neopixel ring works good :) just have to code the time setting method using switches.