BLDC control for jumping robot.
Dependencies: CRC MODSERIAL mbed-dev mbed-rtos
Fork of mbed_BLDC_driver_KL25Z by
Diff: enc.h
- Revision:
- 1:d68c51a0a706
- Parent:
- 0:00c56a9c6dee
--- a/enc.h Sat Mar 05 00:09:45 2016 +0000 +++ b/enc.h Wed Sep 28 16:59:46 2016 +0000 @@ -20,7 +20,7 @@ ~enc(); unsigned int ams_read(); void update_pos(); - void set_offset(); + void set_offset(ushort zpos); unsigned int cal_state(); //Calibrated stat static ushort par(ushort value); ushort write_spi(ushort reg, u8 rw);