Navigation Menu

Skip to content

Commit

Permalink
add sensor class prefix where missing (#22)
Browse files Browse the repository at this point in the history
The EV3 sensor files and classes are prefixed with "EVs_"
  • Loading branch information
Seth T authored and MindsensorsSupport committed Oct 12, 2016
1 parent b83753f commit 1ecd739
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions EVShield_examples/ev3us_runaway/ev3us_runaway.ino
Expand Up @@ -23,7 +23,7 @@ http://www.openelectrons.com/docs/viewdoc/25
#include <Wire.h>
#include <EVShield.h>
//#include <EVShieldAGS.h>
#include <EV3Ultrasonic.h>
#include <EVs_EV3Ultrasonic.h>


// setup for this example:
Expand All @@ -39,7 +39,7 @@ EVShield evshield(0x34,0x36);
//
// Declare our sensor for use in this program
//
EV3Ultrasonic us1;
EVs_EV3Ultrasonic us1;

void
setup()
Expand Down
4 changes: 2 additions & 2 deletions EVShield_examples/gyro_square/gyro_square.ino
Expand Up @@ -23,7 +23,7 @@ http://www.openelectrons.com/docs/viewdoc/25
#include <Wire.h>
#include <EVShield.h>
#include <EVShieldAGS.h>
#include <EV3Gyro.h>
#include <EVs_EV3Gyro.h>


// setup for this example:
Expand All @@ -39,7 +39,7 @@ EVShield evshield(0x34,0x36);
//
// Declare our sensor for use in this program
//
EV3Gyro gyro1;
EVs_EV3Gyro gyro1;

void
setup()
Expand Down
4 changes: 2 additions & 2 deletions EVShield_examples/touch_runaway/touch_runaway.ino
Expand Up @@ -23,7 +23,7 @@ http://www.openelectrons.com/docs/viewdoc/25
#include <Wire.h>
#include <EVShield.h>
//#include <EVShieldAGS.h>
#include <EV3Touch.h>
#include <EVs_EV3Touch.h>


// setup for this example:
Expand All @@ -39,7 +39,7 @@ EVShield evshield(0x34,0x36);
//
// Declare our sensor for use in this program
//
EV3Touch touch1;
EVs_EV3Touch touch1;

void
setup()
Expand Down
4 changes: 2 additions & 2 deletions EVShield_tests/PFMate/PFMate.ino
Expand Up @@ -20,7 +20,7 @@ http://www.openelectrons.com/docs/viewdoc/25

#include <Wire.h>
#include <EVShield.h>
#include <PFMate.h>
#include <EVs_PFMate.h>

// setup for this example:
// attach PFMate to Port BAS1
Expand All @@ -35,7 +35,7 @@ EVShield evshield (0x34 ,0x36);
// declare the i2c devices used on EVShield(s).
//

PFMate pfmate (0x48);
EVs_PFMate pfmate (0x48);

void setup()
{
Expand Down

0 comments on commit 1ecd739

Please sign in to comment.