33
44![ alt text] ( https://raw.githubusercontent.com/pezi/dart_periphery_img/main/header.jpg " Title ")
55
6- [ ![ pub package] ( https://img.shields.io/badge/pub-v0.9.19 -orange )] ( https://pub.dartlang.org/packages/dart_periphery )
6+ [ ![ pub package] ( https://img.shields.io/badge/pub-v0.9.20 -orange )] ( https://pub.dartlang.org/packages/dart_periphery )
77[ ![ Pub Points] ( https://img.shields.io/pub/points/dart_periphery )] ( https://pub.dev/packages/dart_periphery/score )
88[ ![ All Contributors] ( https://img.shields.io/github/contributors/pezi/dart_periphery )] ( https://github.com/pezi/dart_periphery/graphs/contributors )
99[ ![ BSD License] ( https://img.shields.io/github/license/pezi/dart_periphery )] ( https://opensource.org/license/bsd-3-clause )
@@ -14,7 +14,7 @@ The repository’s [Wiki](https://github.com/pezi/dart_periphery/wiki) is now en
1414
1515## 📖 Introduction
1616
17- ** dart_periphery** is a Dart port of the native [ c-periphery library] ( https://github.com/vsergeev/c-periphery ) (v2.4.3 )
17+ ** dart_periphery** is a Dart port of the native [ c-periphery library] ( https://github.com/vsergeev/c-periphery ) (v2.5.0 )
1818for Linux Peripheral I/O (GPIO, LED, PWM, SPI, I2C, MMIO and Serial peripheral I/O). This package
1919is designed for System on Chips (SoCs) such as Raspberry Pi, NanoPi, Banana Pi, and others.
2020
@@ -115,7 +115,7 @@ import 'package:dart_periphery/dart_periphery.dart';
115115/// low-power combined humidity, pressure, and temperature sensor.
116116void main() {
117117 // Select the right I2C bus number /dev/i2c-?
118- // 1 for Raspbery Pi, 0 for NanoPi (Armbian), 2 Banana Pi (Armbian)
118+ // 1 for Raspberry Pi, 0 for NanoPi (Armbian), 2 Banana Pi (Armbian)
119119 var i2c = I2C(1);
120120 try {
121121 print('I2C info:' + i2c.getI2Cinfo());
@@ -142,7 +142,7 @@ import 'package:dart_periphery/dart_periphery.dart';
142142/// quick response and integrated temperature & humidity sensor.
143143void main() {
144144 // Select the right I2C bus number /dev/i2c-?
145- // 1 for Raspbery Pi, 0 for NanoPi (Armbian), 2 Banana Pi (Armbian)
145+ // 1 for Raspberry Pi, 0 for NanoPi (Armbian), 2 Banana Pi (Armbian)
146146 var i2c = I2C(1);
147147 try {
148148 var sht31 = SHT31(i2c);
@@ -420,14 +420,14 @@ cd ~
420420### arm
421421
422422``` bash
423- wget https://storage.googleapis.com/dart-archive/channels/stable/release/3.9.3 /sdk/dartsdk-linux-arm-release.zip
423+ wget https://storage.googleapis.com/dart-archive/channels/stable/release/3.10.4 /sdk/dartsdk-linux-arm-release.zip
424424unzip dartsdk-linux-arm-release.zip
425425```
426426
427427### arm64
428428
429429``` bash
430- wget https://storage.googleapis.com/dart-archive/channels/stable/release/3.9.3 /sdk/dartsdk-linux-arm64-release.zip
430+ wget https://storage.googleapis.com/dart-archive/channels/stable/release/3.10.4 /sdk/dartsdk-linux-arm64-release.zip
431431unzip dartsdk-linux-arm64-release.zip
432432```
433433
@@ -443,14 +443,14 @@ unzip dartsdk-linux-ia32-release.zip
443443### X64
444444
445445``` bash
446- wget https://storage.googleapis.com/dart-archive/channels/stable/release/3.9.3 /sdk/dartsdk-linux-x64-release.zip
446+ wget https://storage.googleapis.com/dart-archive/channels/stable/release/3.10.4 /sdk/dartsdk-linux-x64-release.zip
447447unzip dartsdk-linux-x64-release.zip
448448```
449449
450450### RISC-V (RV64GC)
451451
452452``` bash
453- wget https://storage.googleapis.com/dart-archive/channels/stable/release/3.9.3 /sdk/dartsdk-linux-riscv64-release.zip
453+ wget https://storage.googleapis.com/dart-archive/channels/stable/release/3.10.4 /sdk/dartsdk-linux-riscv64-release.zip
454454unzip dartsdk-linux-riscv64-release.zip
455455```
456456
@@ -485,7 +485,7 @@ Test the installation
485485
486486``` bash
487487 dart --version
488- Dart SDK version: 3.9.3 (stable) (Tue Sep 9 12:02:51 2025 -0700 ) on " linux_arm64 "
488+ Dart SDK version: 3.10.4 (stable) (Tue Dec 9 00:01:55 2025 -0800 ) on " linux_arm "
489489```
490490
491491## 📚 Native libraries
@@ -594,6 +594,7 @@ the asset directory.
594594
595595## 🖥 Supported devices (sensors, actuators, extensions hats and displays)
596596
597+ * [ Air530] ( https://github.com/pezi/dart_periphery/blob/main/example/serial_air530.dart ) GPS sensor
597598* [ SGP30] ( https://github.com/pezi/dart_periphery/blob/main/example/i2c_sgp30.dart ) : tVOC and eCO2 Gas Sensor
598599* [ BME280] ( https://github.com/pezi/dart_periphery/blob/main/example/i2c_bme280.dart ) : Temperature, humidity and pressure sensor.
599600* [ BME680] ( https://github.com/pezi/dart_periphery/blob/main/example/i2c_bme680.dart ) : Temperature, humidity pressure and gas (Indoor Airy Quality) sensor.
@@ -606,7 +607,7 @@ the asset directory.
606607* [ MCP9808] ( https://github.com/pezi/dart_periphery/blob/main/example/i2c_mcp9808.dart ) : high accuracy temperature sensor.
607608* [ MLX90615] ( https://github.com/pezi/dart_periphery/blob/main/example/i2c_mlx90615.dart ) : digital infrared non-contact temperature sensor.
608609* [ PCF8591] ( https://github.com/pezi/dart_periphery/blob/main/example/i2c_pcf8591.dart ) : ADC+DAC combo
609- * [ SDC30 ] ( https://github.com/pezi/dart_periphery/blob/main/example/i2c_sdc30 .dart ) : CO₂, temperature and humidity sensor.
610+ * [ SCD30 ] ( https://github.com/pezi/dart_periphery/blob/main/example/i2c_scd30 .dart ) : CO₂, temperature and humidity sensor.
610611* [ SI1145] ( https://github.com/pezi/dart_periphery/blob/main/example/i2c_si1145.dart ) sunlight sensor: visible & IR light, UV index
611612* [ TSL2591] ( https://github.com/pezi/dart_periphery/blob/main/example/i2c_tsl2591.dart ) light sensor
612613* [ DS1307/DS3231] ( https://github.com/pezi/dart_periphery/blob/main/example/i2c_ds1307.dart ) real time clock support
0 commit comments