Search:

Type: Posts; User: iam818

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    983

    Wow! Got it after converting the tmp to int...

    Wow! Got it after converting the tmp to int before assigning to newtime.

    Thanks!
  2. Replies
    7
    Views
    983

    Well, I want to change the time of a RTC IC by...

    Well, I want to change the time of a RTC IC by input a command line from terminal.

    Example:
    settime,10,20,30,40,50,60,70

    There's an array to store the time information. Example:

    ...
  3. Replies
    7
    Views
    983

    Sorry if I have posted to a wrong area. I've...

    Sorry if I have posted to a wrong area.

    I've been assigned the newtime like this but the content still has not changed:


    unsigned char time[7] = {0x00,0x30,0x09,0x01,0x03,0x00,0x11};

    ...
  4. Replies
    7
    Views
    983

    Help - string array

    Hi,

    I have one string as below and would like to change the content one by one. I tried in this way but it's not successed.




    unsigned char newtime[7];

    for (x=7; x>0; x--)
Results 1 to 4 of 4