Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #57, comments #58

Merged
merged 1 commit into from
Feb 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading