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.
Fork of m3pi_TUB by
Diff: m3pi_ng.h
- Revision:
- 10:f89d2a3a9ed2
- Parent:
- 9:deb9547909c3
- Child:
- 11:7bfb33432791
--- a/m3pi_ng.h Mon May 13 10:54:18 2013 +0000
+++ b/m3pi_ng.h Tue May 14 11:05:33 2013 +0000
@@ -105,17 +105,19 @@
m3pi(PinName nrst, PinName tx, PinName rx);
/** Get the signature
- returns length 6 char array
+ * needs a length 6 char array to write into
*/
- char * signature (void);
+ void signature (char *);
/** Get the raw sensor values
- */
- int * raw_sensor (void);
+ * needs a int[5] array to write into
+ */
+ void raw_sensor (int *);
/** Get the calibrated sensor values
- */
- int * calibrated_sensor (void);
+ * needs a int[5] array to write into
+ */
+ void calibrated_sensor (int *);
/** Play music using the buzzer
*/
