Proyecto de Tesis en Mecatrónica. Universidad Técnica del Norte. Ernesto Palacios <mecatronica.mid@gmail.com>
Dependencies: EthernetNetIf HTTPServer QEI_hw RPCInterface mbed
setup.h@2:a1b556d78a7f, 2012-03-24 (annotated)
- Committer:
- Yo_Robot
- Date:
- Sat Mar 24 04:40:21 2012 +0000
- Revision:
- 2:a1b556d78a7f
- Child:
- 3:8d5a9e3cd680
Works! Still needs to figure out how the period and match register works, but for a Stepper motor the base code is there!
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Yo_Robot | 2:a1b556d78a7f | 1 | |
Yo_Robot | 2:a1b556d78a7f | 2 | #ifndef SETUP_H |
Yo_Robot | 2:a1b556d78a7f | 3 | #define SETUP_H |
Yo_Robot | 2:a1b556d78a7f | 4 | |
Yo_Robot | 2:a1b556d78a7f | 5 | #include "mbed.h" |
Yo_Robot | 2:a1b556d78a7f | 6 | |
Yo_Robot | 2:a1b556d78a7f | 7 | void Setup_PTO_Timer2(); |
Yo_Robot | 2:a1b556d78a7f | 8 | void ISR_Serial(); |
Yo_Robot | 2:a1b556d78a7f | 9 | |
Yo_Robot | 2:a1b556d78a7f | 10 | void setPeriodUp(); |
Yo_Robot | 2:a1b556d78a7f | 11 | void setPeriodDown(); |
Yo_Robot | 2:a1b556d78a7f | 12 | void setPeriodStep( uint32_t newStep ); |
Yo_Robot | 2:a1b556d78a7f | 13 | |
Yo_Robot | 2:a1b556d78a7f | 14 | |
Yo_Robot | 2:a1b556d78a7f | 15 | #endif |