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:
- aeschsim
- Date:
- 2018-04-06
- Revision:
- 76:53a25f1dc2b6
- Parent:
- 75:4064a0f13083
- Child:
- 79:c825bd2dea81
File content as of revision 76:53a25f1dc2b6:
#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
*/
float getDutyCycle(char container);
/* Turn Container 90 degrees
* @param Container 1-6
* @return true if next position reached
*/
int nextPosition(char container);
