i2c
Here are 1,061 public repositories matching this topic...
I'm following https://gobot.io/documentation/platforms/chip/ on macOS and seeing a compilation error in the sample program:
undefined: gobot.On
Repro steps
I ran go get -d -u gobot.io/x/gobot/... (worked)
Pasted the sample listed to main.go:
package main
import (
"fmt"
"gobot.io/x/gobot"
"gobot.io/x/gobot/drivers/gpio"
"gobot.io/x/gobot/platfor
There are a few flags that currently don't have proper error checking. The ones I found are -gc, -scheduler and -size. Using the wrong value will lead to no or unexpected errors.
I think the best way to handle it is to add a new method to compileopts.Config that checks whether there are any faulty flags, which is then called from the main function.
Absolutely love the work you guys are doing and I firmly believe that javascript is the way to go with everything. I want to make a Chrome App using cylon.js and therefore stumbled upon this repo from this blog post. Looking through the README, it's documented that we have to write our code in the script.js file for instance and bundle it using Browserify like so:
./node_modules/.bin/brows
This issue is two part:
- https://periph.io/x/periph/conn/gpio doesn't document that Halt is the formal way to unblock a WaitForEdge function.
- https://periph.io/device/button/ and https://periph.io/device/pir/ should demonstrate that in a copy-pastable way.
Looking at the code vs the document I see that:
chipIDlisted in docs is actually not used for SPIbusis not listed in docsslaveselectis not listed in docs
This needs to be corrected to avoid confusing users.
Also, please note information from #781 and incorporate it as well.
-
Updated
Jun 7, 2020 - Swift
This awesome library works on TinkerBoard and luma.OLED.
This is the configuration:
- TinkerOS 2.04
- ASUS GPIO API for python libraries (includes a full GPIO RPi library)
- i2c SSD 1306 0.96" OLED diplay
Here is a short video showing the oled in action.
I'm trying to use this library to receive signals with generic 433mhz receiver (sender is a door sensor operating on the same freq). it seems like set_async_interrupt runs a lambda on another thread and will reset interrupt handler back to none, so that next interrupt doesnt trigger any lambda.
However radio receiver will trigger many interrupts, so I was wondering if you could provide a us
Describe the bug
a freefont and ssd1306_print8 calls ssd1306_write8 which uses fixedfont-width to do line break :-(
size_t ssd1306_write8(uint8_t ch)
{
...
else if ( (ssd1306_cursorX > ssd1306_lcd.width - s_fixedFont.h.width) || (ch == '\n') )
Please complete the following information:
- library version: 1.7.21 installed via Arduino IDE
- LCD display type: cheap 1
-
Updated
Apr 24, 2020 - JavaScript
-
Updated
Jun 25, 2020 - C++
-
Updated
Apr 7, 2020 - Python
-
Updated
May 7, 2020 - C
For Arduino programming using their language, a specific driver library exists for easy and simple control over Servo parts. This seems to be non supported at the moment when using tinygo.
This functionality would be very useful for especially Arduino users that want to use their servos, but I guess that it might be useful for other boards too, depending on implementation. I will mostly be usin
-
Updated
Jan 20, 2020
-
Updated
Aug 29, 2016 - Python
-
Updated
Apr 1, 2020 - Java
-
Updated
May 29, 2019 - C++
-
Updated
Oct 14, 2018 - C#
-
Updated
Jun 29, 2020 - C
-
Updated
Jun 29, 2020 - C++
outdated docs
The docs at http://rust-embedded.github.io/rust-i2cdev which https://crates.io/crates/i2cdev links is outdated.
Either these should be kept in sync with the latest version or https://crates.io/crates/i2cdev should link to an alternative: https://docs.rs/i2cdev
-
Updated
Apr 24, 2020 - C#
-
Updated
May 17, 2020 - C++
Improve this page
Add a description, image, and links to the i2c topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the i2c topic, visit your repo's landing page and select "manage topics."
There is an optional
boardparam than may be passed in the constructor opts for all device classes. Simply put, it allows the user to specify which board they want to use in projects that have multiple boards. It is currently not documented anywhere and should probably be added to all the classes.