14 Replies Latest reply on Dec 18, 2016 12:50 PM by mario.pro2_1603066

    How to write period in Timer from keyboard

      Hi all, 


      I would like to be able to write new period to my timer, while the program is running. But when I'm trying to do that:


                      uint32 period;
                      UART_UartPutString("New Timer period");
                      period = UART_UartGetChar();


      I'm not able to set it right. For example when I type 10000 the period is only 10 and I'm not sure what I'm doing wrong. I've uploaded my whole project. Thanks for any help.