Skip to content

Commit

Permalink
Fixing comments on all arduino files to explain how data is exchanged
Browse files Browse the repository at this point in the history
  • Loading branch information
Clovis Scotti committed Jun 14, 2011
1 parent 2b6cfd9 commit 6e7825d
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Arduino/FootPressure/FootPressure.pde
Expand Up @@ -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()
Expand Down
6 changes: 6 additions & 0 deletions Arduino/GSR/GSR.pde
Expand Up @@ -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()
Expand Down
6 changes: 6 additions & 0 deletions Arduino/Heart/Heart.pde
Expand Up @@ -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};
Expand Down
18 changes: 18 additions & 0 deletions 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;
Expand Down

0 comments on commit 6e7825d

Please sign in to comment.