Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

switch back to bma180 mode, todo: figure out a simple way to switch b…

…etween test sensors
  • Loading branch information...
commit a48802e5298f83ac686f987c9740c8d6c9c73a0f 1 parent 2d75aee
Eero af Heurlin authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 i2c_sensor_lib.pde
4 i2c_sensor_lib.pde
@@ -10,7 +10,7 @@
10 10 #include <PinChangeInt.h>
11 11
12 12
13   -dummy_accelerometer sensor;
  13 +bma180 sensor;
14 14 int smoothed_data[3];
15 15
16 16
@@ -74,7 +74,7 @@ void setup()
74 74
75 75 void loop()
76 76 {
77   - if (read_sensor_flag or true)
  77 + if (read_sensor_flag)
78 78 {
79 79 sensor.read_sensor_data();
80 80 read_sensor_flag = false;

0 comments on commit a48802e

Please sign in to comment.
Something went wrong with that request. Please try again.