People Counter / Mbed 2 deprecated person_counter

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

Revisions of main.cpp

Revision Date Message Actions
19:c78aafa613b8 2020-04-26 Added code to check directional movement (towards and away). Currently is a little fiddly with directions. Slowing down the sonar thread frequency might solve this issue File  Diff  Annotate
18:7b1d65b007ab 2020-04-26 Updated the allZero flag to trigger only when 2 values are non_zero to prevent noise from interfering with the system File  Diff  Annotate
17:b8b68ff5e33a 2020-04-26 Corrected Switch statement for sound out put File  Diff  Annotate
16:5250c9fe0408 2020-04-26 added comments File  Diff  Annotate
15:827fbc2e07d6 2020-04-26 hopefully added logic to increment counter when individuals are in front of the sensor. It should only count individuals once. File  Diff  Annotate
14:88c09f96bdda 2020-04-24 initialize sound and bluetooth threads File  Diff  Annotate
13:3ba367bc16bc 2020-04-24 corrected music notes to be different File  Diff  Annotate
12:bebfef8d229f 2020-04-24 added SongPlayer and sound thread - disabled waveplayer File  Diff  Annotate
11:f5d0c8bf1849 2020-04-24 added bluetooth thread; File  Diff  Annotate
10:7a939a54515e 2020-04-24 added bluetooth thread File  Diff  Annotate
9:f4f03767acc0 2020-04-22 Removed TOF sensor. Program prints Soanr data to LCD File  Diff  Annotate
8:c0a6a3363e43 2020-04-22 Added code to read TOF sensor and display it to the LCD File  Diff  Annotate
7:85d42006e380 2020-04-22 Added audio out pin and waveplayer. Added code to play a specified file to main function (ALL new code marked //NEW) File  Diff  Annotate
6:068146497fe6 2020-04-22 added a mutex File  Diff  Annotate
5:3ff2acbd08ab 2020-04-22 corrected typo File  Diff  Annotate
4:7d02b3f3bee6 2020-04-22 added libraries needed to the program and main function (speaker is still not included) ; main function still blinks an led File  Diff  Annotate
3:b5cdd40e99e9 2020-04-22 added remaining libraries: TOF, sonar. Also changed the SDFileSystem library version to match the RTOS version from the labs File  Diff  Annotate
2:1ec843c95914 2020-04-21 Added SDFileSystem, wave_player and created a main function that will blink the LED1 File  Diff  Annotate