Ben Katz / Hobbyking_Cheetah_Compact

Motor control for robots. More compact, less object-oriented revision.

Dependencies:   FastPWM3 mbed

Fork of Hobbyking_Cheetah_V1 by Ben Katz

Committer:
benkatz
Date:
Mon May 01 15:22:58 2017 +0000
Revision:
26:2b865c00d7e9
- Added CAN Send/Receive; - Updated to most recent MBED (Broke SPI 16-bit read/write.  Hacked to work with 2 8-bit writes now); - Removed most sine/cos calculations; - Fixed sign error in autocalibration routine

Who changed what in which revision?

UserRevisionLine numberNew contents of line
benkatz20:bf9ea5125d52 1#ifndef HW_SETUP_H
benkatz20:bf9ea5125d52 2#define HW_SETUP_H
benkatz20:bf9ea5125d52 3
benkatz20:bf9ea5125d52 4#include "mbed.h"
benkatz20:bf9ea5125d52 5#include "structs.h"
benkatz20:bf9ea5125d52 6
benkatz20:bf9ea5125d52 7void Init_PWM(GPIOStruct *gpio);
benkatz20:bf9ea5125d52 8void Init_ADC(void);
benkatz20:bf9ea5125d52 9void Init_DAC(void);
benkatz20:bf9ea5125d52 10void Init_All_HW(GPIOStruct *gpio);
benkatz20:bf9ea5125d52 11
benkatz20:bf9ea5125d52 12#endif