main program for 4180 Spring 2020 Final Project

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

Changes

RevisionDateWhoCommit message
27:e375f13572f9 2020-04-29 mmarine3 Removed unnecessary commented lines default tip
26:ee962b024242 2020-04-29 rmalik8 cleaned up code
25:577a78b97309 2020-04-28 rmalik8 removed wave_player and SDFileSystem code and libararies
24:fd113f826c98 2020-04-27 mmarine3 Changed allZero Algorithm to check for 3 non_zero values. Also added zero check to movingAway and movingToward to further prevent noise
23:f877b13f22b7 2020-04-26 mmarine3 Fixed towards/away mixup. Finalized LCD print settings
22:8f262e8f65b4 2020-04-26 mmarine3 Fixed error with the counter
21:4fef6bf7582c 2020-04-26 mmarine3 Cleaned up the LCD printing
20:1dc516a6a941 2020-04-26 mmarine3 Shortened sound time. Added volume setting controlled by Bluetooth
19:c78aafa613b8 2020-04-26 mmarine3 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
18:7b1d65b007ab 2020-04-26 mmarine3 Updated the allZero flag to trigger only when 2 values are non_zero to prevent noise from interfering with the system
17:b8b68ff5e33a 2020-04-26 mmarine3 Corrected Switch statement for sound out put
16:5250c9fe0408 2020-04-26 rmalik8 added comments
15:827fbc2e07d6 2020-04-26 rmalik8 hopefully added logic to increment counter when individuals are in front of the sensor. It should only count individuals once.
14:88c09f96bdda 2020-04-24 rmalik8 initialize sound and bluetooth threads
13:3ba367bc16bc 2020-04-24 rmalik8 corrected music notes to be different
12:bebfef8d229f 2020-04-24 rmalik8 added SongPlayer and sound thread - disabled waveplayer
11:f5d0c8bf1849 2020-04-24 rmalik8 added bluetooth thread;
10:7a939a54515e 2020-04-24 rmalik8 added bluetooth thread
9:f4f03767acc0 2020-04-22 mmarine3 Removed TOF sensor. Program prints Soanr data to LCD
8:c0a6a3363e43 2020-04-22 mmarine3 Added code to read TOF sensor and display it to the LCD
7:85d42006e380 2020-04-22 mmarine3 Added audio out pin and waveplayer. Added code to play a specified file to main function (ALL new code marked //NEW)
6:068146497fe6 2020-04-22 rmalik8 added a mutex
5:3ff2acbd08ab 2020-04-22 rmalik8 corrected typo
4:7d02b3f3bee6 2020-04-22 rmalik8 added libraries needed to the program and main function (speaker is still not included) ; main function still blinks an led
3:b5cdd40e99e9 2020-04-22 rmalik8 added remaining libraries: TOF, sonar. Also changed the SDFileSystem library version to match the RTOS version from the labs
2:1ec843c95914 2020-04-21 mmarine3 Added SDFileSystem, wave_player and created a main function that will blink the LED1
1:50075cf00598 2020-04-21 rmalik8 added lcd and rtos libary
0:296cce0846e0 2020-04-21 rmalik8 first commit