Search found 85 matches
- Wed Jan 03, 2018 9:22 am
- Forum: ESP32 Arduino
- Topic: ESP32 I2C mapping
- Replies: 32
- Views: 51803
Re: ESP32 I2C mapping
ok so I don't need to modify wire any more but I do need to modify the seesaw library?
- Wed Jan 03, 2018 8:13 am
- Forum: ESP32 Arduino
- Topic: ESP32 I2C mapping
- Replies: 32
- Views: 51803
Re: ESP32 I2C mapping
the page says that dac1 and dac 2 are also analog and also a gpio. Does that mean I can comment out the dac defines and use those Pins?
- Wed Jan 03, 2018 7:30 am
- Forum: ESP32 Arduino
- Topic: ESP32 I2C mapping
- Replies: 32
- Views: 51803
Re: ESP32 I2C mapping
Thankyou!!! ok I was backtracking the code from seesaw to wire and now I see that nothing else needs to be changed I just need to add a second begin and bus address into my code. By pointing wire.begin to the two pins I chose as secondary i2c pins. And both pins need to be input/output capable pins....
- Wed Jan 03, 2018 3:43 am
- Forum: ESP32 Arduino
- Topic: ESP32 I2C mapping
- Replies: 32
- Views: 51803
Re: ESP32 I2C mapping
Ok guys I'm almost there..... Whats the next step? any of the above?
- Tue Jan 02, 2018 1:22 am
- Forum: ESP32 Arduino
- Topic: ESP32 I2C mapping
- Replies: 32
- Views: 51803
Re: ESP32 I2C mapping
Awesome!!! You rock!!! Thank you!!! Ok this seems pretty simple so far. So now it point to the pins that I changed in pins_arduino? Now about those pins.... What basic functions must the pins have to use them as my secondary I2C? I would like to have one set on one side of the huzzah and the seconda...
- Mon Jan 01, 2018 9:36 am
- Forum: ESP32 Arduino
- Topic: ESP32 I2C mapping
- Replies: 32
- Views: 51803
Re: ESP32 I2C mapping
Awesome thank you. Ok now how do I get that instance to point to the right pins? Or what is my next step?
- Mon Jan 01, 2018 7:43 am
- Forum: ESP32 Arduino
- Topic: ESP32 I2C mapping
- Replies: 32
- Views: 51803
Re: ESP32 I2C mapping
I need to make a new two wire with the sda and scl pointing at the second set of pinouts I defined in pins_arduino?
I tried adding this to the wire.cpp but it just caused redefinition errors...
TwoWire Wire = TwoWire(1);
or should it be
TwoWire2 = TwoWire(1);
I tried adding this to the wire.cpp but it just caused redefinition errors...
TwoWire Wire = TwoWire(1);
or should it be
TwoWire2 = TwoWire(1);
- Sun Dec 31, 2017 11:43 pm
- Forum: ESP32 Arduino
- Topic: ESP32 I2C mapping
- Replies: 32
- Views: 51803
Re: ESP32 I2C mapping
Could I please get some help on changing the pin assignments? ive googled "esp32 change pin out", "esp32 change pin assignment and every other way I could think of but I cant find any information on how to do so. What all do I need to do to add a second set of i2c ports?
- Sun Dec 31, 2017 9:46 am
- Forum: ESP32 Arduino
- Topic: ESP32 I2C mapping
- Replies: 32
- Views: 51803
Re: ESP32 I2C mapping
where should these tweaks take place? In the arduino/esp libraries? Or in the joy example? Will the defines I made in pins Arduino work?
- Sun Dec 31, 2017 7:43 am
- Forum: ESP32 Arduino
- Topic: ESP32 I2C mapping
- Replies: 32
- Views: 51803
Re: ESP32 I2C mapping
it says on this page that it has 2 i2c and that only one is configured by default.... https://learn.adafruit.com/adafruit-huzzah32-esp32-feather/overview its in the features list both i2c devices have resistors pre installed the pinouts page describes the gpio capabilities if that will help https://...