Giuseppe post at 2017-2-10 16:39:14

Does the Orange Pi zero have two I2C port?

Hi
The pinout shows me there are two I2C port, TWI1 and TWI0
but I can only recive data from TWI1.

How can I make the THWI0 aviable?

Thanks

Giuseppe

dx.l post at 2017-2-10 18:56:56

look at your script.bin file (use bin2fex from sunxi tools package).

Giuseppe post at 2017-2-11 20:53:54

Edited by Giuseppe at 2017-2-11 20:56

Hi,
can you tell mepath forscript.bin?

Thanks

ImmortanJoe post at 2017-2-24 15:43:59

/boot/script.bin

sudo bin2fex script.bin script.fex
...make your changes to script.fex...
sudo fex2bin script.fex script.bin

You don't need to name it "script.fex", and I strongly recommend making a copy of script.bin before doing anything.

Giuseppe post at 2017-3-5 18:19:02

Edited by Giuseppe at 2017-3-5 18:20

Thanks but....


sudo: bin2fex: command not found:L


nopnop2002 post at 2017-3-13 22:17:57

Giuseppe replied at 2017-3-5 18:19
Thanks but....




sudo apt-get install sunxi-tools

Giuseppe post at 2017-3-20 22:16:42

thank you so much!

   more easy than expected
now quite confused by: nano script.fex but I will study it

nopnop2002 post at 2017-3-23 19:13:17

No one can answer that you don't exhibit your cord.

ornage1 post at 2017-4-18 12:15:02

Giuseppe replied at 2017-3-20 22:16
thank you so much!

   more easy than expected


Any luck I2C comms, Giuseppe?

Cheers,
huey

page: [1]
View full version: Does the Orange Pi zero have two I2C port?