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.
Diff: main.cpp
- Revision:
- 7:882edb5f9466
- Parent:
- 6:e57f9887ad02
- Child:
- 11:5861bc23022a
--- a/main.cpp Wed May 25 09:16:13 2016 +0000
+++ b/main.cpp Fri May 27 14:36:15 2016 +0000
@@ -21,11 +21,15 @@
/* Hauptprogramm */
int main(){
while(1){
+ /* Auslesen des Beschleunigungssensores */
vgetSensData(&stSensData);
+ /* Berechnung der Winkel aus Messdaten */
vcalcData(&stSensData, &stWinkelData);
- //vLCDSetDebug(stSensData.wSensX,stSensData.wSensY,stSensData.wSensZ);
+ /* Einstellen der LED's*/
+ // Tbd
+ /* Einstellen des LCD-Displays*/
vLCDSet(stWinkelData.i16WinkelX, stWinkelData.i16WinkelY);
- //wait_ms(1000);
+ wait_ms(500);
}
return 0;
}