Power & Source of Big Ideas

I2C_LCD1602_Demo Fail to open I2C device

Moderators: chensy, FATechsupport

When runing I2C_LCD1602_Demo, It canot open I2C port and show error message
Fail to open I2C device
Here is the code https://github.com/friendlyarm/friendly ... D1602_Demo
What can be the error? Do I have to setup hardware or connection for I2C to run the demo?
hoang1127 wrote:
When runing I2C_LCD1602_Demo, It canot open I2C port and show error message
Fail to open I2C device
Here is the code https://github.com/friendlyarm/friendly ... D1602_Demo
What can be the error? Do I have to setup hardware or connection for I2C to run the demo?


The standard libraries from FriendlyArm require you to build the apk with the platform keys. This is because the ports are protected. You need a custom Android build and make them available to user access. See my other post to you on how to do this.

Who is online

In total there are 14 users online :: 0 registered, 0 hidden and 14 guests (based on users active over the past 5 minutes)
Most users ever online was 5185 on Wed Jan 22, 2020 1:44 pm

Users browsing this forum: No registered users and 14 guests