Esp32: Difference between revisions
From Federal Burro of Information
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
https://www.rose-lighting.com/wp-content/uploads/sites/53/2020/05/SK68XX-MINI-HS-REV.04-EN23535RGB-thick.pdf | https://www.rose-lighting.com/wp-content/uploads/sites/53/2020/05/SK68XX-MINI-HS-REV.04-EN23535RGB-thick.pdf | ||
talk to it via I2C | talk to it via I2C | ||
damn trying to get the boot flashed. | damn trying to get the boot flashed. | ||
Line 34: | Line 32: | ||
[[image:esp32-c3-devkitc-02-v1-pinout.png]] | [[image:esp32-c3-devkitc-02-v1-pinout.png]] | ||
so which pinds are for I2C SDA/SCL ? | |||
Lots of conflicting docs. | |||
I forced the issue like this: | |||
<pre> | |||
void setup() { | |||
Wire.setPins(sda_pin, scl_pin); | |||
Wire.begin(); | |||
... | |||
} | |||
</pre> |
Revision as of 03:15, 28 October 2021
I got some esp32-c3-devkitC-02
from the hardware schematic i seethe RGB LED is SK68XXMINI-HS
I used adafruit neopixel library to drive this RGB LED. it's one wire or i2c or something. Pin 8
talk to it via I2C
damn trying to get the boot flashed.
this is what I'm going on now:
https://docs.espressif.com/projects/arduino-esp32/en/latest/installing.html
board manager extras:
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json
old config:
https://dl.espressif.com/dl/package_esp32_index.json, http://arduino.esp8266.com/stable/package_esp8266com_index.json
This page has some particulars:
https://www.smart-prototyping.com/blog/How%20to%20Install-ESP32-Core-Arduino-IDE
so which pinds are for I2C SDA/SCL ?
Lots of conflicting docs.
I forced the issue like this:
void setup() { Wire.setPins(sda_pin, scl_pin); Wire.begin(); ... }