Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed Servo mbed-rtos 4DGL-uLCD-SE PinDetect X_NUCLEO_53L0A1
Diff: audio_out.h
- Revision:
- 16:62976c3c029e
- Parent:
- 4:1790aa9234a3
--- a/audio_out.h Sat Apr 11 20:00:59 2020 +0000
+++ b/audio_out.h Mon Apr 13 02:16:45 2020 +0000
@@ -1,4 +1,4 @@
-#include "mbed.h"
+/*#include "mbed.h"
#include "XNucleo53L0A1.h"
#include <stdio.h>
#include "Speaker.h"
@@ -21,13 +21,13 @@
int status;
uint32_t distance;
DevI2C *device_i2c = new DevI2C(VL53L0_I2C_SDA, VL53L0_I2C_SCL);
- /* creates the 53L0A1 expansion board singleton obj */
+ /* creates the 53L0A1 expansion board singleton obj
board = XNucleo53L0A1::instance(device_i2c, A2, D8, D2);
shdn = 0; //must reset sensor for an mbed reset to work
wait(0.1);
shdn = 1;
wait(0.1);
- /* init the 53L0A1 board with default values */
+ /* init the 53L0A1 board with default values
status = board->init_board();
while (status) {
status = board->init_board();
@@ -94,4 +94,5 @@
state = false;
}
}
-}
\ No newline at end of file
+}
+*/
\ No newline at end of file
