People Counter / Mbed 2 deprecated person_counter

Dependencies:   mbed mbed-rtos 4DGL-uLCD-SE HC_SR04_Ultrasonic_Library

Committer:
mmarine3
Date:
Tue Apr 21 18:52:03 2020 +0000
Revision:
2:1ec843c95914
Child:
3:b5cdd40e99e9
Added SDFileSystem, wave_player and created a main function that will blink the LED1

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mmarine3 2:1ec843c95914 1 #include "mbed.h"
mmarine3 2:1ec843c95914 2 #include "SDFileSystem.h"
mmarine3 2:1ec843c95914 3 #include "uLCD_4DGL.h"
mmarine3 2:1ec843c95914 4 #include <string>
mmarine3 2:1ec843c95914 5
mmarine3 2:1ec843c95914 6 DigitalOut MyLED(LED1);
mmarine3 2:1ec843c95914 7
mmarine3 2:1ec843c95914 8
mmarine3 2:1ec843c95914 9
mmarine3 2:1ec843c95914 10 int main()
mmarine3 2:1ec843c95914 11 {
mmarine3 2:1ec843c95914 12 MyLED = 0;
mmarine3 2:1ec843c95914 13 while(1){
mmarine3 2:1ec843c95914 14 MyLED = !MyLED;
mmarine3 2:1ec843c95914 15 wait(.1);
mmarine3 2:1ec843c95914 16 }
mmarine3 2:1ec843c95914 17 }