Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: SDFileSystem mbed
Fork of PES4_Programme by
header/measure.h
- Committer:
- EHess
- Date:
- 2018-04-06
- Revision:
- 75:4064a0f13083
- Parent:
- 62:6e021f4d2fbb
- Child:
- 76:53a25f1dc2b6
File content as of revision 75:4064a0f13083:
#pragma once
#include "mbed.h"
/* Attach Interrupts
*/
void initInterrupt();
/* Write Time for PWM
* @ Write to global variable
*/
void writeTime();
/* Write Period for PWM
* @ Write to global variable
*/
void writePeriod();
/* Read Timer
*/
void readTimer(int pos);
/* Get DutyCycle
* @param Container 1-6
* @return DutyCycle
*/
int getDutyCycle(char container);
/* Turn Container 90 degrees
* @param Container 1-6
* @return true if next position reached
*/
int nextPosition(char container);
