Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixing comments on all arduino files to explain how data is exchanged

  • Loading branch information...
commit 6e7825de51d85c768b8396a9ab6261df21a9c822 1 parent 2b6cfd9
Clovis Scotti authored
View
6 Arduino/FootPressure/FootPressure.pde
@@ -9,6 +9,12 @@
*
*/
+/*
+ * Arduino responds to char 'A' from the serial port.
+ * Replies with:
+ * FOOT,<value heel>,<value toes>,END;
+ */
+
//FOOT, arduino pro mini 3.3v connected to FSRs in divider with 1.5K resistor talking to bluetooth at 115200 Baud on a bluetooth mate.
void setup()
View
6 Arduino/GSR/GSR.pde
@@ -9,6 +9,12 @@
*
*/
+/*
+ * Arduino responds to char 'A' from the serial port.
+ * Replies with:
+ * GSR,<value>,END;
+ */
+
//GSR, arduino pro mini 3.3v connected to analog in port 3 with a 300K resistor tied to ground talking to bluetooth at 115200 Baud on a bluetooth mate.
void setup()
View
6 Arduino/Heart/Heart.pde
@@ -10,6 +10,12 @@
*
*/
+/*
+ * Arduino responds to char 'A' from the serial port.
+ * Replies with:
+ * HRM,<average last 32 beats>,<average last 16 beats>,<average last beat>,END;
+ */
+
volatile boolean inService = false;
long timeArray[] ={
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
View
18 Arduino/IMU/IMU.pde
@@ -1,4 +1,22 @@
+
+/*
+ * Copyright (c) 2011 Nokia Corporation
+ *
+ * This file is part of the Push Snowboarding Project, More info at:
+ * http://pushsnowboarding.com/tech/developer-centre/
+ *
+ * This file is under the GPLv3 License, more details at:
+ * http://www.gnu.org/licenses/
+ *
+ */
+
+/*
+ * Arduino responds to char 'A' from the serial port.
+ * Replies with:
+ * IMU,<gyro's x>,<gyro's y>,<gyro's z>,<acc's x>,<acc's y>,<acc's z>,<mag's x>,<mag's y>,<mag's z>,END;
+ */
+
#include <Wire.h>
int XGyro, YGyro, ZGyro;
Please sign in to comment.
Something went wrong with that request. Please try again.