1. ardpy : python package
1.1 Ardpy class
name
|
action
| |
property
|
_VERSION
|
version of the Ardpy class
|
addr
|
get/set i2c address
| |
device_id
|
get device id (number)
| |
num_funcs
|
get number of functions callable
| |
max_arg_num
|
get maximum number of arguments
| |
method
|
_set_arg(val, index=0, dtype=’byte’)
|
set argument data
|
_exec_func(val)
|
execute function in arduino
|
1.2 Arduno class
1.3 Ledm class
1.4 Tlcd class
2. Ardpy : arduino (c++) library
2.1 public methods
method declaration
|
action
|
byte begin(byte addr,uint16_t dev_id = 0xffff,uint16_t verFirmw = 0x1000,) | |
void check() | |
void add_func( void (*func)(void) ) | |
void set_max_arg_num(byte num) | |
int8_t get_int8(byte index=0)uint8_t get_uint8(byte index=0)uint8_t get_byte(byte index=0)int16_t get_int16(byte index=0)int16_t get_int(byte index=0)uint16_t get_uint16(byte index = 0)int32_t get_int32(byte index = 0)uint32_t get_uint32(byte index = 0)float get_float(byte index = 0)char* get_str(byte index = 0) | |
void set_ret(int8_t)void set_ret(uint8_t)void set_ret(int16_t)void set_ret(uint16_t)void set_ret(int32_t)void set_ret(uint32_t)void set_ret(float) |
댓글 없음:
댓글 쓰기