Leds work simultanously. Version 3.1
Dependents: bertl_led bertl_led bertl_led bertl_led ... more
Fork of Bertl by
BULME HTL Graz-Gösting
FSST - Hardwarenahe Programmierung
Created by Prof.Dr. Franz Pucher
Inhalt
Start mit folgendem Code in main.cpp eines neuen Projektes mbed_blinky:
#include "mbed.h" #include "const.h" #include "Robot.h" Robot bertl; int main() { bertl.NibbleLeds(0x0F); wait(1); bertl.NibbleLeds(0x00); while(1) { if(bertl.IsButtonPressed(BTN_BL)) { bertl.TurnLedOn(LED_BL1); } if(bertl.IsButtonPressed(BTN_BR)) { bertl.TurnLedOff(LED_BL1); } } }
Revisions of ur_Bertl.h
Revision | Date | Message | Actions |
---|---|---|---|
16:9ec833d98d0d | 2015-11-12 | btn | File Diff Annotate |
15:43d6a7e6e64a | 2015-05-08 | Version 3.0 | File Diff Annotate |
13:3ce84646fd74 | 2015-04-27 | Bertl version 3.0 updated | File Diff Annotate |
12:cedc088eaf05 | 2015-04-26 | Class Bertl with additional Methodes added | File Diff Annotate |
7:e7f74f072564 | 2015-04-13 | int ReturnButtonPressed() added which returns the int value of button pressed | File Diff Annotate |
5:6b667e2cb800 | 2015-04-10 | Button test added: IsButtonPressed. | File Diff Annotate |
4:76acfddc26fb | 2015-04-07 | Predicats added, such as FrontIsClear(), NextToABeeper(), AnyBeepersInBeeperBag(), ... | File Diff Annotate |
1:fafbac0ba96d | 2015-03-19 | FrontIsClear() with ultrasonic sensor added | File Diff Annotate |
0:66e9a0afcbd6 | 2015-02-26 | ur_Bertl based on simple class design with documentaton | File Diff Annotate |