This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Digitise an older engine - ESP32
#26
(2022-08-01, 04:54 AM)Techstyle Wrote:
(2022-07-30, 10:58 PM)Boatingbaileys Wrote: Will do, and will respond to the above. Currently got limited access to internet but will be back i a couple of days.

Thanks, actually I got it working, I had to add some code to get the I2C interface to work.  I had to define the pins

Code:
Wire.begin(22,21)

where 22 is the SCL pin and 21 is the SDA pin.

I think you may have got around this by better defining the board you were using, but I had trouble with that in version 2.

Took me a little longer to get back to this, but I have had a look through the code, and I've not needed to define this. It looks like it set the ports up for me, I know I had to change to 0x76 for mine, but the pins appear to have been defined.  Glad its working!
Reply


Messages In This Thread
RE: Digitise an older engine - ESP32 - by MigGat - 2022-03-24, 10:11 AM
RE: Digitise an older engine - ESP32 - by Sailoog - 2022-03-25, 08:08 PM
RE: Digitise an older engine - ESP32 - by Paul M - 2022-03-26, 03:22 PM
RE: Digitise an older engine - ESP32 - by PaddyB - 2022-03-28, 11:30 AM
RE: Digitise an older engine - ESP32 - by PaddyB - 2022-03-26, 09:21 PM
RE: Digitise an older engine - ESP32 - by Sailoog - 2022-03-31, 11:59 AM
RE: Digitise an older engine - ESP32 - by tYuoAz - 2022-04-01, 10:40 PM
RE: Digitise an older engine - ESP32 - by Paul M - 2022-09-13, 03:03 PM
RE: Digitise an older engine - ESP32 - by SCarns - 2022-04-04, 03:48 PM
RE: Digitise an older engine - ESP32 - by MigGat - 2022-04-03, 06:08 PM
RE: Digitise an older engine - ESP32 - by Boatingbaileys - 2022-08-10, 11:28 AM
RE: Digitise an older engine - ESP32 - by MigGat - 2023-03-25, 01:18 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)