7 Replies Latest reply on Sep 4, 2015 2:14 AM by user_1377889

    RTC component woes

    user_379387337

      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.