Skip to content

Commit

Permalink
Fix #57, comments (#58)
Browse files Browse the repository at this point in the history
Fix #57, update comments in examples
  • Loading branch information
RobTillaart committed Feb 23, 2024
1 parent 6f05b4d commit cd55341
Show file tree
Hide file tree
Showing 21 changed files with 81 additions and 0 deletions.
5 changes: 5 additions & 0 deletions examples/AS5600L_set_address/AS5600L_set_address.ino
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,17 @@
// AUTHOR: Rob Tillaart
// PURPOSE: demo
// URL: https://github.com/RobTillaart/AS5600
//
// Examples may use AS5600 or AS5600L devices.
// Check if your sensor matches the one used in the example.
// Optionally adjust the code.


#include "AS5600.h"


AS5600L ASL; // use default Wire
// AS5600 ASL; // use default Wire


void setup()
Expand Down
4 changes: 4 additions & 0 deletions examples/AS5600_I2C_frequency/AS5600_I2C_frequency.ino
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
// AUTHOR: Rob Tillaart
// PURPOSE: demo
// URL: https://github.com/RobTillaart/AS5600
//
// Examples may use AS5600 or AS5600L devices.
// Check if your sensor matches the one used in the example.
// Optionally adjust the code.


#include "AS5600.h"
Expand Down
4 changes: 4 additions & 0 deletions examples/AS5600_angular_speed/AS5600_angular_speed.ino
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
// AUTHOR: Rob Tillaart
// PURPOSE: demo
// URL: https://github.com/RobTillaart/AS5600
//
// Examples may use AS5600 or AS5600L devices.
// Check if your sensor matches the one used in the example.
// Optionally adjust the code.


#include "AS5600.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
// AUTHOR: Rob Tillaart
// PURPOSE: demo
// URL: https://github.com/RobTillaart/AS5600
//
// Examples may use AS5600 or AS5600L devices.
// Check if your sensor matches the one used in the example.
// Optionally adjust the code.


#include "AS5600.h"
Expand Down
4 changes: 4 additions & 0 deletions examples/AS5600_burn_conf_mang/AS5600_burn_conf_mang.ino
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
// - uncomment burnSettings() in AS5600.h and AS5600.cpp.
// - adjust settings and MaxAngle in burn_mang() function below ==> line 77++
// - uncomment line 167 of this sketch
//
// Examples may use AS5600 or AS5600L devices.
// Check if your sensor matches the one used in the example.
// Optionally adjust the code.


#include "AS5600.h"
Expand Down
4 changes: 4 additions & 0 deletions examples/AS5600_burn_zpos/AS5600_burn_zpos.ino
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
// - uncomment burnAngle() in AS5600.h and AS5600.cpp.
// - adjust settings and MaxAngle in burn_zpos() function below ==> line 77++
// - uncomment line 105 of this sketch
//
// Examples may use AS5600 or AS5600L devices.
// Check if your sensor matches the one used in the example.
// Optionally adjust the code.


#include "AS5600.h"
Expand Down
4 changes: 4 additions & 0 deletions examples/AS5600_demo/AS5600_demo.ino
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
// AUTHOR: Rob Tillaart
// PURPOSE: demo
// URL: https://github.com/RobTillaart/AS5600
//
// Examples may use AS5600 or AS5600L devices.
// Check if your sensor matches the one used in the example.
// Optionally adjust the code.


#include "AS5600.h"
Expand Down
4 changes: 4 additions & 0 deletions examples/AS5600_demo_ESP32/AS5600_demo_ESP32.ino
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
// AUTHOR: Rob Tillaart
// PURPOSE: demo
// URL: https://github.com/RobTillaart/AS5600
//
// Examples may use AS5600 or AS5600L devices.
// Check if your sensor matches the one used in the example.
// Optionally adjust the code.


#include "AS5600.h"
Expand Down
4 changes: 4 additions & 0 deletions examples/AS5600_demo_RP2040/AS5600_demo_RP2040.ino
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
// AUTHOR: Rob Tillaart
// PURPOSE: demo
// URL: https://github.com/RobTillaart/AS5600
//
// Examples may use AS5600 or AS5600L devices.
// Check if your sensor matches the one used in the example.
// Optionally adjust the code.


#include "AS5600.h"
Expand Down
4 changes: 4 additions & 0 deletions examples/AS5600_demo_STM32/AS5600_demo_STM32.ino
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
// URL: https://github.com/RobTillaart/AS5600
//
// tested compilation with Nucleo-64
//
// Examples may use AS5600 or AS5600L devices.
// Check if your sensor matches the one used in the example.
// Optionally adjust the code.


#include "AS5600.h"
Expand Down
4 changes: 4 additions & 0 deletions examples/AS5600_demo_offset/AS5600_demo_offset.ino
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
// AUTHOR: Rob Tillaart
// PURPOSE: demo
// URL: https://github.com/RobTillaart/AS5600
//
// Examples may use AS5600 or AS5600L devices.
// Check if your sensor matches the one used in the example.
// Optionally adjust the code.


#include "AS5600.h"
Expand Down
4 changes: 4 additions & 0 deletions examples/AS5600_demo_radians/AS5600_demo_radians.ino
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
// AUTHOR: Rob Tillaart
// PURPOSE: demo
// URL: https://github.com/RobTillaart/AS5600
//
// Examples may use AS5600 or AS5600L devices.
// Check if your sensor matches the one used in the example.
// Optionally adjust the code.


#include "AS5600.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
// URL: https://github.com/RobTillaart/AS5600
//
// connect the DIR pin of the AS5600 to GND
//
// Examples may use AS5600 or AS5600L devices.
// Check if your sensor matches the one used in the example.
// Optionally adjust the code.


#include "AS5600.h"
Expand Down
4 changes: 4 additions & 0 deletions examples/AS5600_demo_status/AS5600_demo_status.ino
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
// AUTHOR: Rob Tillaart
// PURPOSE: demo
// URL: https://github.com/RobTillaart/AS5600
//
// Examples may use AS5600 or AS5600L devices.
// Check if your sensor matches the one used in the example.
// Optionally adjust the code.


#include "AS5600.h"
Expand Down
4 changes: 4 additions & 0 deletions examples/AS5600_demo_two_I2C/AS5600_demo_two_I2C.ino
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
// - nano33 ble
// - teensy 4.1
// - RP2040
//
// Examples may use AS5600 or AS5600L devices.
// Check if your sensor matches the one used in the example.
// Optionally adjust the code.


#include "AS5600.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
// URL: https://github.com/RobTillaart/AS5600
//
// connect the OUT pin to the analog port of the processor
//
// The AS5600L does not support analog OUT.


#include "AS5600.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
// PURPOSE: experimental demo
// URL: https://github.com/RobTillaart/AS5600
// connect the OUT pin to the analog port of the processor
//
// The AS5600L does not support analog OUT.


#include "AS5600.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
//
// alternative one can read the PWM with interrupt pin and
// determine the duty cycle
//
// Examples may use AS5600 or AS5600L devices.
// Check if your sensor matches the one used in the example.
// Optionally adjust the code.


#include "AS5600.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
// AUTHOR: Rob Tillaart
// PURPOSE: demo
// URL: https://github.com/RobTillaart/AS5600
//
// Examples may use AS5600 or AS5600L devices.
// Check if your sensor matches the one used in the example.
// Optionally adjust the code.


#include "AS5600.h"
Expand Down
4 changes: 4 additions & 0 deletions examples/AS5600_position/AS5600_position.ino
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
// AUTHOR: Rob Tillaart
// PURPOSE: demo
// URL: https://github.com/RobTillaart/AS5600
//
// Examples may use AS5600 or AS5600L devices.
// Check if your sensor matches the one used in the example.
// Optionally adjust the code.


#include "AS5600.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
// AUTHOR: Daniel-Frenkel, (slightly by Rob Tillaart)
// PURPOSE: demo - see issue #30
// URL: https://github.com/RobTillaart/AS5600
//
// Examples may use AS5600 or AS5600L devices.
// Check if your sensor matches the one used in the example.
// Optionally adjust the code.


#include "AS5600.h"
Expand Down

0 comments on commit cd55341

Please sign in to comment.