tinygo-org / drivers

TinyGo drivers for sensors, displays, wireless adaptors, and other devices that use I2C, SPI, GPIO, ADC, and UART interfaces.
https://tinygo.org
BSD 3-Clause "New" or "Revised" License
604 stars 188 forks source link

rtl8720dn: add ./examples/rtl8720dn/version #430

Closed sago35 closed 2 years ago

sago35 commented 2 years ago

Created an example to read the version of rtl8720dn.

Also, wioterminal rtl8720dn initialization was created in examples/rtl8720dn/wioterminal.go. Right now, there are many examples/rtl8720dn/*/wioterminal.go, but eventually we would like to unify them into examples/rtl8720dn/wioterminal.go.

The version readout yields the following results

RTL8270DN Firmware Version: 2.1.2
deadprogram commented 2 years ago

Thanks @sago35 now merging.