Skip to content
Browse files

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

…etween test sensors
  • Loading branch information...
1 parent 2d75aee commit a48802e5298f83ac686f987c9740c8d6c9c73a0f @rambo committed Apr 4, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 i2c_sensor_lib.pde
View
4 i2c_sensor_lib.pde
@@ -10,7 +10,7 @@
#include <PinChangeInt.h>
-dummy_accelerometer sensor;
+bma180 sensor;
int smoothed_data[3];
@@ -74,7 +74,7 @@ void setup()
void loop()
{
- if (read_sensor_flag or true)
+ if (read_sensor_flag)
{
sensor.read_sensor_data();
read_sensor_flag = false;

0 comments on commit a48802e

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