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.
Dependents: Check_VL6180XA1_ToF
Fork of X_NUCLEO_6180XA1 by
Diff: x_nucleo_6180xa1.h
- Revision:
- 42:692c6223dc24
- Parent:
- 37:837cffa6b530
- Child:
- 48:e799ad44dab7
diff -r 2e00362bdb8e -r 692c6223dc24 x_nucleo_6180xa1.h
--- a/x_nucleo_6180xa1.h Thu Mar 03 10:43:01 2016 +0000
+++ b/x_nucleo_6180xa1.h Fri Mar 11 09:47:43 2016 +0000
@@ -95,6 +95,7 @@
X_NUCLEO_6180XA1(DevI2C *ext_i2c, PinName gpio1_top, PinName gpio1_bottom,
PinName gpio1_left, PinName gpio1_right) : dev_i2c(ext_i2c) {
stmpe1600 = new STMPE1600(*ext_i2c);
+ stmpe1600->writeSYS_CTRL (SOFT_RESET);
Switch = new SWITCH (*stmpe1600, GPIO_11);
display = new Display(*stmpe1600);
