00001
00013 #ifndef _DI194_INTERNAL_H
00014 #define _DI194_INTERNAL_H
00015
00017 const time_t serial_timeout = 5;
00018
00019
00020 const uint8_t stop_cmd[] = {0x00, 'S', '0'};
00021 const uint8_t sn_cmd[] = {0x00, 'N', 'Z'};
00022 const uint8_t start_cmd[] = {0x00, 'S', '1'};
00023 const uint8_t rst_cmd[] = {0x00, 'R', 'Z'};
00024 const uint8_t all_chan[] = {0x00, 'C', 0x3F};
00025 const uint8_t dig_chan[] = {0x00, 'D', '0'};
00026 const uint8_t odd_cmd[] = {0x00, 'B', 0x01};
00027
00029 const uint8_t key_cmd[] = {0x00, 'E'};
00030 const uint8_t di_enable_key[] =
00031 {
00032 0x33, 0x35, 0x46, 0x46, 0x44, 0x30, 0x42, 0x44
00033 };
00034
00035
00036
00037
00038 #endif