summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sketch_apr09a/sketch_apr09a.ino25
1 files changed, 25 insertions, 0 deletions
diff --git a/sketch_apr09a/sketch_apr09a.ino b/sketch_apr09a/sketch_apr09a.ino
index af05cef..284a2a1 100644
--- a/sketch_apr09a/sketch_apr09a.ino
+++ b/sketch_apr09a/sketch_apr09a.ino
@@ -43,6 +43,31 @@ void setup()
Serial.begin(9600);
}
+static void send_pressure_bottom(int pressure)
+{
+ serial_printf("PRESSURE_BOTTOM:%d\n", pressure);
+}
+static void send_pressure_top(int pressure)
+{
+ serial_printf("PRESSURE_TOP:%d\n", pressure);
+}
+static void send_flexion(int flexion)
+{
+ serial_printf("FLEXION:%d\n", flexion);
+}
+static void send_angle_x(int angle)
+{
+ serial_printf("ANGLE_X:%d\n", angle);
+}
+static void send_angle_y(int angle)
+{
+ serial_printf("ANGLE_Y:%d\n", angle);
+}
+static void send_angle_z(int angle)
+{
+ serial_printf("ANGLE_Z:%d\n", angle);
+}
+
void loop()
{
delay(500);