People Counter / Mbed 2 deprecated person_counter

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

Committer:
rmalik8
Date:
Wed Apr 22 04:00:14 2020 +0000
Revision:
3:b5cdd40e99e9
Parent:
2:1ec843c95914
Child:
4:7d02b3f3bee6
added remaining libraries: TOF, sonar. Also changed the SDFileSystem library version to match the RTOS version from the labs

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"
rmalik8 3:b5cdd40e99e9 4 #include "XNucleo53L0A1.h"
rmalik8 3:b5cdd40e99e9 5 //#include <stdio.h>
mmarine3 2:1ec843c95914 6 #include <string>
mmarine3 2:1ec843c95914 7
rmalik8 3:b5cdd40e99e9 8 uLCD_4DGL uLCD(p13, p14, p12); // serial tx, serial rx, reset pin;
rmalik8 3:b5cdd40e99e9 9 DigitalOut shdn(p26);
mmarine3 2:1ec843c95914 10 DigitalOut MyLED(LED1);
mmarine3 2:1ec843c95914 11
mmarine3 2:1ec843c95914 12
mmarine3 2:1ec843c95914 13
mmarine3 2:1ec843c95914 14 int main()
mmarine3 2:1ec843c95914 15 {
mmarine3 2:1ec843c95914 16 MyLED = 0;
mmarine3 2:1ec843c95914 17 while(1){
mmarine3 2:1ec843c95914 18 MyLED = !MyLED;
mmarine3 2:1ec843c95914 19 wait(.1);
mmarine3 2:1ec843c95914 20 }
mmarine3 2:1ec843c95914 21 }