George Sexton
31fd033457
More lint fixes
1 year ago
George Sexton
405e04ef6e
missed handling one error
1 year ago
George Sexton
9f3eb67a7b
fix error handling
1 year ago
George Sexton
bca1c90b5e
Fix incorrect usage. a 'pin number' was passed to port.Connect(), when that parameter is actually the bit count.
1 year ago
George Sexton
bc639221ca
Fix incorrect usage. a 'pin number' was passed to port.Connect(), when that parameter is actually the bit count.
1 year ago
George Sexton
7e3e54275b
Fixes
1 year ago
Olivier Mengué #openToWork-Paris
f009056300
inky/impression: embed Dev ( #103 )
...
Minor refactor to embed Dev directly instead of via a pointer.
1 year ago
Olivier Mengué #openToWork-Paris
0187bca55f
inky/impression: fix init of bounds ( #102 )
...
Fix typo in initialization of bounds when bounds are not explicitely set
by the user.
1 year ago
gsexton
dd6f498f5c
ssd1306: Add support for SH1106 and SH1107 ( #104 )
...
* Add support for SH1106 Chip
* Add support for SH1107 Chip
* Expand example w/ Geometric drawing examples.
* Cleanup code to use constants.
1 year ago
gsexton
9a7f7ac5da
hd44780: Restructure to implement conn/display/TextDisplay. Refine to use GPIO.Group ( #91 )
...
* Add support for Adafruit I2C/SPI Backpack
* Add support for PCF857x Backpacks
* Add support for conn/gpio/Group
* Implement conn/display/TextDisplay
* Add examples
* Cleanups
* Change backlight implementation
1 year ago
gsexton
bc9678aa18
mpu9250: Add i2c interface support ( #101 )
...
* Refactor SPI transport to be dual transport.
* Implement I2C support.
1 year ago
gsexton
38cb3394bc
Devices: Initial Add of Waveshare 1602 Support ( #100 )
...
* Initial Add of Waveshare 1602 Support
1 year ago
gsexton
ea55a05aa1
Add Support for 74HC595 Serial -> Parallel Shift Register ( #99 )
1 year ago
gsexton
7555373ca1
devices: Add support for PCF857X GPIO Extenders ( #98 )
...
Includes support for gpio.Group
1 year ago
Filip Stanis
eb90d53534
[inky] Add Inky Impression 7.3" support ( #75 )
...
* Adds support for Inky Frame 7.3"
Co-authored-by: Olivier Mengué <dolmen@cpan.org>
Co-authored-by: George Sexton <georges@mhsoftware.com>
Co-authored-by: M-A <maruel@gmail.com>
Co-authored-by: Olivier Mengué <dolmen@cpan.org>
1 year ago
Olivier Mengué
4ac3d19e0c
lepton/cci: run stringer with "go run" ( #96 )
...
Run the stringer command (for code generation) using "go run" instead of
"go install" to avoid affecting the developer's global $GOBIN.
1 year ago
Olivier Mengué
321f6f6211
inky: run stringer with "go run" ( #95 )
...
Run stringer command (for code generation) using "go run" instead of "go
install" to avoid affecting the developer's global $GOBIN.
1 year ago
Olivier Mengué
f007d15374
inky: improve godoc ( #94 )
...
Add godoc links to ease discovery.
1 year ago
gsexton
5bcc204c9a
mcp23xxx: Add GPIO Group support ( #92 )
...
* Add GPIO Group support to mcp23xxx
* Add unit tests for group
* Fix unit test
* add file
* Fix lint errors
1 year ago
gsexton
d5aac04cf4
Add Support for MatrixOrbital LK204-7T LCD Display ( #93 )
...
* Initial Add
* Fix lint errors
* Address review comments
1 year ago
x86ed
b09dc06512
waveshare2in13v3/waveshare2in13v4: adding v3 and v4 waveshare 2.13" ePaper displays ( #65 )
...
* adding v3 and v4 waveshare
* updating file
* Update waveshare213v4.go
Remove unreferenced, unexported values.
* Update waveshare213v3.go
Remove unreferenced, unexported constants.
---------
Co-authored-by: gsexton <georges@mhsoftware.com>
1 year ago
gsexton
cad22759dd
Add Support for SparkFun SerLCD Display ( #88 )
...
* Initial Creation
* Bump conn version
* add more documentation for 32 byte limit. minor code restructure to be more transparent
1 year ago
gsexton
c46abe928c
Issue #73 - restructure so voltage can be returned even if power/current is meaningless. ( #87 )
1 year ago
Marc-Antoine Ruel
0fba034629
Update dependencies
1 year ago
Shannon Wynter
cfd565d1ad
ep0099: optionally read device state on init ( #86 )
1 year ago
gsexton
72857e8c3f
Add TI HDC302x Sensor Support ( #83 )
...
* Fix race conditions in test SenseContinuous()
Fixes #84
1 year ago
gsexton
7fd42d5ebf
devices: Add support for AM2320 Temperature/Humidity Sensor ( #82 )
...
* AM2320 Temp/Humidity Sensor - Initial Add
1 year ago
gsexton
9a938c42a7
scd4x: SCD4x CO2 Sensor - Initial Add ( #81 )
...
* Initial Add
* Fix lint issue and inversion of skip testing
2 years ago
Zac
5bc0352f3a
tic: Add I²C support for Tic Stepper Motor Controllers ( #78 )
...
* tic: Add I²C support for Tic Stepper Motor Controllers (#1 )
* Initialise buffers as arrays instead of slices
* Remove redundant step modes and improve docs
* Make Offset type private
* Remove shadowed variable
2 years ago
Marc-Antoine Ruel
536214b3ab
Reduce PR target coverage to 40%
...
60% was fairly high and can be rough to achieve.
2 years ago
gsexton
c0037af197
Max7219 LED Driver ( #79 )
2 years ago
M-A
9ab07ba9a6
codecov.yml: lower project min coverage to 45% ( #80 )
2 years ago
czechbol
853aec60c1
Refactor display options in ssd1306.go ( #77 )
2 years ago
gsexton
f9d46888f5
tmp102: Initial add of tmp102 driver. ( #76 )
2 years ago
Benjamin Godding
2cf8fa10c9
bmxx80: add support for filters without using SenseContinuous ( #74 )
2 years ago
Marc-Antoine Ruel
67ec1da964
Silence linting
2 years ago
Marc-Antoine Ruel
a9604df110
#TIL go.mod go statement requires minor version
2 years ago
Marc-Antoine Ruel
85abab6a8b
Add myself to AUTHORS
2 years ago
Marc-Antoine Ruel
d18deefcb2
Fix go generate
2 years ago
Marc-Antoine Ruel
4af5b06bff
Update go dependencies
...
Ran:
go get -u -t ./...
go mod tidy
2 years ago
Marc-Antoine Ruel
9d40bc1d63
Remove disclaimers
...
Remove quote about Google ownership and lack of affiliation with the Go
project. It's not owned by Google anymore and I don't believe there's
confusion about the Go project.
2 years ago
Marc-Antoine Ruel
5de331625c
Update go.mod to 1.22 and update github actions workflow
2 years ago
Louis
87b5c7d124
Add doc file for AHT20 ( #72 )
2 years ago
Louis
5d320c70db
Add AHT20 example code ( #71 )
...
* add AHT20 example code
* add Precision() test
2 years ago
Louis
872d025e9d
Add AHT20 tests ( #70 )
...
* add Sense() test
* fix IsInitialized() always returning false
* add tests for most exported Methods
* add negative test cases for Sense()
* add license to test
* fix CRC checksum of read timeout test
* fix read timeout test
* remove read timeout test
* remove opts from test case
2 years ago
Louis
e644b7c436
Add AHT20 sensor ( #68 )
...
Co-authored-by: Wilke, Louis <louis.wilke@exxeta.com>
2 years ago
Benoit Pereira da Silva
bd7de1d36d
adxl345: I²C support ( #67 )
...
- Removed useless ReadRaw
- Changed the scope of ReadAndCombine to private readAndCombine
- Renamed ExampleNewI2C & ExampleNewSpi to follow the recommandations. Exposed an I2CAddr for those who may need it.
2 years ago
Benoit Pereira da Silva
931687b33a
adxl345: Driver, initial commit for review. ( #66 )
...
Accelerator sensor. Supports SPI, designed to support I2C in the future.
2 years ago
M-A
c14e02d418
go.mod bump to go1.20 ( #58 )
...
Update github actions.
3 years ago
emulatorchen
8b220202b3
lirc requries linebreak \n for SEND_ONCE ( #57 )
...
Co-authored-by: Victor Chen <vc@discoverelement.com>
3 years ago