Comments (4)
Yes, we had seen this as well and fixed it in the read-fix
branch. It just never got brought to the master branch.
Did it now, will release an updated package soon!
from i2c-exp-driver.
Is this true? Seems like it was never merged. There are still offending lines:
https://github.com/OnionIoT/i2c-exp-driver/blob/master/src/lib/onion-i2c.c#L313
Re-discovered these while trying to write a I2C device driver and wondering why my programm keeps crashing with a corrupted stack.
from i2c-exp-driver.
The read-fix
branch was indeed merged but it only had fixes for the i2c_write()
and i2c_readByte()
functions. This function, i2c_readRaw()
, had the same issue but was overlooked.
In any case, it's fixed now and part of the v0.7 libonioni2c release. Please try it out and let me know if you have any issues.
from i2c-exp-driver.
The code looks good now. I was able to remove my workarounds for library bugs and it does work with the newest version! Issue can be closed IMO.
from i2c-exp-driver.
Related Issues (17)
- Output Verbosity HOT 1
- oled-exp draw command fills the screen with random pixels in the undefined zones.
- Omega I2C driver misses reading without defining register address HOT 2
- Change I2C address
- Error Error relocating /usr/lib/python2.7/OmegaExpansion/onionI2C.so: i2c_writeBufferRaw: symbol not found" HOT 4
- Compilation error: recompile with -fPIC HOT 1
- I2C functions never return an error
- Problem with oled-exp cursor command HOT 2
- setCursor() function in Python module returns "I2C transaction failed." HOT 3
- Timming issues
- Off-By-One Error in i2c_writeBuffer HOT 4
- Document maximum I2C transfer size of 64 bytes HOT 5
- Instructions on how to build/install for Python 3 HOT 2
- Image skewed by OLEC Expansion Control of Control Panel after b236 HOT 14
- OLED_EXP_CHAR_COLUMN not OLED_EXP_CHAR_COLUMNS HOT 1
- oled-exp segmentation fault when using the draw command
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 i2c-exp-driver.