Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Commit

Permalink
Added commented lines to the examples
Browse files Browse the repository at this point in the history
Added 3 lines for powering up the sensor on the TLV493D-A1B6 MS2GO Evalkit.
  • Loading branch information
9Volts9er committed Apr 8, 2021
1 parent 263da71 commit 360e875
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 0 deletions.
6 changes: 6 additions & 0 deletions examples/Cartesian/Cartesian.ino
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ Tlv493d Tlv493dMagnetic3DSensor = Tlv493d();
void setup() {
Serial.begin(9600);
while(!Serial);

//For the Evalkit "TLV493D-A1B6 MS2GO" uncommend following 3 lines:
//pinMode(LED2, OUTPUT); //Sensor-VDD as output
//digitalWrite(LED2, HIGH); //Power on the sensor
//delay(50);

Tlv493dMagnetic3DSensor.begin();
}

Expand Down
6 changes: 6 additions & 0 deletions examples/CartesianFast/CartesianFast.ino
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ Tlv493d Tlv493dMagnetic3DSensor = Tlv493d();
void setup() {
Serial.begin(9600);
while(!Serial);

//For the Evalkit "TLV493D-A1B6 MS2GO" uncommend following 3 lines:
//pinMode(LED2, OUTPUT); //Sensor-VDD as output
//digitalWrite(LED2, HIGH); //Power on the sensor
//delay(50);

Tlv493dMagnetic3DSensor.begin();
Tlv493dMagnetic3DSensor.setAccessMode(Tlv493dMagnetic3DSensor.MASTERCONTROLLEDMODE);
Tlv493dMagnetic3DSensor.disableTemp();
Expand Down
6 changes: 6 additions & 0 deletions examples/SphericalFast/SphericalFast.ino
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ Tlv493d Tlv493dMagnetic3DSensor = Tlv493d();
void setup() {
Serial.begin(9600);
while(!Serial);

//For the Evalkit "TLV493D-A1B6 MS2GO" uncommend following 3 lines:
//pinMode(LED2, OUTPUT); //Sensor-VDD as output
//digitalWrite(LED2, HIGH); //Power on the sensor
//delay(50);

Tlv493dMagnetic3DSensor.begin();
Tlv493dMagnetic3DSensor.setAccessMode(Tlv493dMagnetic3DSensor.MASTERCONTROLLEDMODE);
Tlv493dMagnetic3DSensor.disableTemp();
Expand Down
6 changes: 6 additions & 0 deletions examples/spherical/spherical.ino
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ Tlv493d Tlv493dMagnetic3DSensor = Tlv493d();
void setup() {
Serial.begin(9600);
while(!Serial);

//For the Evalkit "TLV493D-A1B6 MS2GO" uncommend following 3 lines:
//pinMode(LED2, OUTPUT); //Sensor-VDD as output
//digitalWrite(LED2, HIGH); //Power on the sensor
//delay(50);

Tlv493dMagnetic3DSensor.begin();
}

Expand Down

0 comments on commit 360e875

Please sign in to comment.