mirror of
https://github.com/tinygo-org/drivers.git
synced 2026-08-04 15:07:46 +00:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 5eac8e38af | |||
| 08580afbfc |
+1
-1
@@ -11,7 +11,7 @@ import (
|
|||||||
"tinygo.org/x/drivers"
|
"tinygo.org/x/drivers"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Device wraps an I2C connection to an AT24CX device.
|
// Device wraps an I2C connection to a DS3231 device.
|
||||||
type Device struct {
|
type Device struct {
|
||||||
bus drivers.I2C
|
bus drivers.I2C
|
||||||
Address uint16
|
Address uint16
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// Connects to an DS3231 I2C Real Time Clock (RTC).
|
// Connects to an MAG3110 I2C magnetometer.
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
Reference in New Issue
Block a user