|
static void | begin (bool use_B=false) |
|
static void | put (uint8_t num, int16_t duty, uint16_t duty_max=1000) |
|
static int16_t | get (uint8_t num) |
|
static void | send (void) |
|
static void | print (bool new_line=false) |
|
|
static int16_t | buf [(DC_MOTOR_NUM+SOL_SUB_NUM) *2] |
|
◆ begin()
void DC_motor::begin |
( |
bool | use_B = false | ) |
|
|
static |
◆ put()
void DC_motor::put |
( |
uint8_t | num, |
|
|
int16_t | duty, |
|
|
uint16_t | duty_max = 1000 ) |
|
static |
指定したモータのDutyを格納する関数
- Parameters
-
num | モータ番号0~11 |
duty | デューティ比 |
duty_max | 最大デューティ比 |
The documentation for this class was generated from the following files: