1. uint16_t test = 0x1FE;//510
    2. uint8_t high = test&0xff00>>8;
    3. uint8_t low = test&0xff;
    4. // high = 0x1;
    5. // low = 0xfe;