update examples

This commit is contained in:
Rob Tillaart 2024-02-23 11:31:08 +01:00
parent 52c9273cb0
commit 33c0825f15
21 changed files with 81 additions and 0 deletions

View File

@ -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()

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"