Comments (3)
That's fine, thank you for replying to my request.
I just adjusted at row 387 with I_GPIO_READ(sda_gpio) and added initialization of the .unused parts in the struct and everything was getting work as expected.
from hulp.
I've been wanting something for longer reads for a while now so I whipped something up. This will allow you to point to a struct that contains all of the data (addresses, length, and an array to read to / write from):
Lines 287 to 454 in 41a13b6
I haven't tweaked any of the timings yet but most I2C slaves are pretty tolerant in my experience so should be fine. Let me know how you go.
from hulp.
A slightly optimised version just pushed to master.
I've decided not to fix timings, it's a lot of faffing about for something that's probably fine and not a high priority.
from hulp.
Related Issues (20)
- problems reading sht3x i2c sensor HOT 10
- How can I make this work with Arduino? HOT 3
- touch, ULP FSM instructions, without macros
- is i2c bitbang limited to RTC GPIOs ?? HOT 2
- Arduino ide8.16 compilation error on Mac HOT 6
- Variable gets a value as if the shift command had not been executed HOT 4
- Possible confrontation with some libraries HOT 7
- HULP ADC read problem while wake up HOT 2
- HULP I2C Hardware Read Wemos Ambient Light sensor BH1750 question HOT 5
- I2C bitbang CRC third byte does not match HOT 23
- Measuring pulse length in milliseconds HOT 5
- ESP32 Not Waking On I_WAKE() HOT 3
- feature request: UART with parity bit HOT 2
- ADC example, comparing if value is wihin a range, rather than just under a threshold HOT 3
- issue with I_GPIO_HOLD_DIS HOT 7
- Is HULP compatible with ESP32-S3? HOT 2
- How to loop through a byte array and set the gpio HOT 6
- Question: how many time to start the ESP3 core from ULP interrupt ? HOT 4
- I2C bitbang example gpio question HOT 8
- RTC LOW Memory limit for platformio / arduino HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hulp.