Skip to content

Commit 29f6bfa

Browse files
committed
0.6.5 AS5600
1 parent 4c664fa commit 29f6bfa

File tree

30 files changed

+121
-35
lines changed

30 files changed

+121
-35
lines changed

libraries/AS5600/AS5600.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//
22
// FILE: AS56000.cpp
33
// AUTHOR: Rob Tillaart
4-
// VERSION: 0.6.4
4+
// VERSION: 0.6.5
55
// PURPOSE: Arduino library for AS5600 magnetic rotation meter
66
// DATE: 2022-05-28
77
// URL: https://github.com/RobTillaart/AS5600

libraries/AS5600/AS5600.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// FILE: AS5600.h
44
// AUTHOR: Rob Tillaart
5-
// VERSION: 0.6.4
5+
// VERSION: 0.6.5
66
// PURPOSE: Arduino library for AS5600 magnetic rotation meter
77
// DATE: 2022-05-28
88
// URL: https://github.com/RobTillaart/AS5600
@@ -12,7 +12,7 @@
1212
#include "Wire.h"
1313

1414

15-
#define AS5600_LIB_VERSION (F("0.6.4"))
15+
#define AS5600_LIB_VERSION (F("0.6.5"))
1616

1717

1818
// default addresses

libraries/AS5600/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
55
and this project adheres to [Semantic Versioning](http://semver.org/).
66

77

8+
## [0.6.5] - 2025-03-13
9+
- update examples - added while(!Serial);
10+
- minor edits.
11+
812
## [0.6.4] - 2024-10-09
913
- fix #67, improve performance **getCumulativePosition()** and **getAngularSpeed()**
1014
- kudos to Chris-42

libraries/AS5600/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2022-2024 Rob Tillaart
3+
Copyright (c) 2022-2025 Rob Tillaart
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

libraries/AS5600/examples/AS5600L_set_address/AS5600L_set_address.ino

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,19 @@
1111

1212
#include "AS5600.h"
1313

14-
14+
// Uncomment the line according to your sensor type
1515
AS5600L ASL; // use default Wire
1616
// AS5600 ASL; // use default Wire
1717

1818

1919
void setup()
2020
{
21+
while(!Serial);
2122
Serial.begin(115200);
2223
Serial.println(__FILE__);
2324
Serial.print("AS5600_LIB_VERSION: ");
2425
Serial.println(AS5600_LIB_VERSION);
26+
Serial.println();
2527

2628
Wire.begin();
2729

libraries/AS5600/examples/AS5600_I2C_frequency/AS5600_I2C_frequency.ino

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
#include "AS5600.h"
1313

1414

15+
// Uncomment the line according to your sensor type
1516
AS5600L as5600; // use default Wire
17+
// AS5600 as5600; // use default Wire
1618

1719
uint32_t clk = 0;
1820

@@ -21,10 +23,12 @@ uint32_t start, stop;
2123

2224
void setup()
2325
{
26+
while(!Serial);
2427
Serial.begin(115200);
2528
Serial.println(__FILE__);
2629
Serial.print("AS5600_LIB_VERSION: ");
2730
Serial.println(AS5600_LIB_VERSION);
31+
Serial.println();
2832

2933
Wire.begin();
3034

libraries/AS5600/examples/AS5600_angular_speed/AS5600_angular_speed.ino

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,19 @@
1212
#include "AS5600.h"
1313

1414

15+
// Uncomment the line according to your sensor type
1516
AS5600L as5600; // use default Wire
17+
// AS5600 as5600; // use default Wire
1618

1719

1820
void setup()
1921
{
22+
while(!Serial);
2023
Serial.begin(115200);
2124
Serial.println(__FILE__);
2225
Serial.print("AS5600_LIB_VERSION: ");
2326
Serial.println(AS5600_LIB_VERSION);
27+
Serial.println();
2428

2529
Wire.begin();
2630

libraries/AS5600/examples/AS5600_angular_speed_RPM/AS5600_angular_speed_RPM.ino

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,19 @@
1212
#include "AS5600.h"
1313

1414

15-
AS5600 as5600; // use default Wire
15+
// Uncomment the line according to your sensor type
16+
AS5600L as5600; // use default Wire
17+
// AS5600 as5600; // use default Wire
1618

1719

1820
void setup()
1921
{
22+
while(!Serial);
2023
Serial.begin(115200);
2124
Serial.println(__FILE__);
2225
Serial.print("AS5600_LIB_VERSION: ");
2326
Serial.println(AS5600_LIB_VERSION);
27+
Serial.println();
2428

2529
Wire.begin();
2630

libraries/AS5600/examples/AS5600_burn_conf_mang/AS5600_burn_conf_mang.ino

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,19 @@
2222
#include "AS5600.h"
2323

2424

25-
AS5600 as5600; // use default Wire
26-
// AS5600L as5600;
25+
// Uncomment the line according to your sensor type
26+
AS5600L as5600; // use default Wire
27+
// AS5600 as5600; // use default Wire
2728

2829

2930
void setup()
3031
{
32+
while(!Serial);
3133
Serial.begin(115200);
3234
Serial.println(__FILE__);
3335
Serial.print("AS5600_LIB_VERSION: ");
3436
Serial.println(AS5600_LIB_VERSION);
37+
Serial.println();
3538

3639
Wire.begin();
3740

libraries/AS5600/examples/AS5600_burn_zpos/AS5600_burn_zpos.ino

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,19 @@
2222
#include "AS5600.h"
2323

2424

25-
AS5600 as5600; // use default Wire
26-
// AS5600L as5600;
25+
// Uncomment the line according to your sensor type
26+
AS5600L as5600; // use default Wire
27+
// AS5600 as5600; // use default Wire
2728

2829

2930
void setup()
3031
{
32+
while(!Serial);
3133
Serial.begin(115200);
3234
Serial.println(__FILE__);
3335
Serial.print("AS5600_LIB_VERSION: ");
3436
Serial.println(AS5600_LIB_VERSION);
37+
Serial.println();
3538

3639
Wire.begin();
3740

0 commit comments

Comments
 (0)