Skip to content

Commit 62e5213

Browse files
authored
Merge pull request #41 from pezi/ps/0.9.14
Ps/0.9.14
2 parents bf5091a + 9a965a3 commit 62e5213

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

CHANGELOG.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
## 0.9.14
2+
23
* Fix missing TSL2591 initialisation settings
34
* Add PCF8591 8-bit A/D and D/A converter (NOT TESTED)
45
* I2C: Change internal data buffers from `Pointer<Int8>` to `Pointer<Uint8>`
5-
* SPI: Fix List<int> transfer(List<int> data, bool reuseBuffer)
6-
* BME280 SPI - fix byte order problem
6+
* SPI: Fix `List<int> transfer(List<int> data, bool reuseBuffer)`
7+
* BME280 SPI - fix byte order problem: ` BitOrder.msbLast`
78
* Update to Dart 3.6.1
89

910
## 0.9.13

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
## 📣 Important hints
1212

13-
This version updates CPU detection by switching from uname() to Dart’s built-in [Abi class](https://api.flutter.dev/flutter/dart-ffi/Abi-class.html).
13+
This version updates CPU detection by switching from `uname()` to Dart’s built-in [Abi class](https://api.flutter.dev/flutter/dart-ffi/Abi-class.html).
1414
Special thanks to [Hanns Winkler](https://github.com/pezi/dart_periphery/pulls) for his contribution!
1515

1616
Added RISC-V support, thanks to [Ali Tariq](https://github.com/alitariq4589) from [10xEngineers](https://10xEngineers.ai) for providing remote access to a Banana Pi BPI-F3 16GB on [Cloud-V](https://cloud-v.co), which enabled building the RISC-V variant of the c-periphery library.
@@ -75,7 +75,7 @@ void main() {
7575
print('Native c-periphery Version : ${getCperipheryVersion()}');
7676
print('GPIO test');
7777
var gpio = GPIO(18, GPIOdirection.gpioDirOut);
78-
var gpio2 = GPIO(16, GPIOdirection.gpioDirOut;
78+
var gpio2 = GPIO(16, GPIOdirection.gpioDirOut);
7979
var gpio3 = GPIO.advanced(5, config);
8080
8181
print('GPIO info: ' + gpio.getGPIOinfo());
@@ -161,6 +161,8 @@ void main() {
161161

162162
### SPI
163163

164+
![alt text](https://raw.githubusercontent.com/pezi/dart_periphery_img/main/bme280_spi.jpg "BME280 SPI Sensor")
165+
164166
``` dart
165167
import 'package:dart_periphery/dart_periphery.dart';
166168

0 commit comments

Comments
 (0)