PINE64
Using GPIO with OS - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4)
+--- Forum: General Discussion on PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=3)
+--- Thread: Using GPIO with OS (/showthread.php?tid=7552)



Using GPIO with OS - MikeA23 - 05-31-2019

Hi
Im new to with the system. I bought it two years ago but I was not able to use it before hehe

I want to use the Pine A64(+) to read several sensors, which are compatible with Arduino. I have two questions:

1) If I need to use the touch screen, that apparently only runs with Android 6.0.1, is there a way to also make use of the GPIO??

2) Are there libraries to use different sensors with those pins? or examples? I'm planing to use several sensors that work with analog outputs and I2C and SPI so I was wondering if there are info about that

Thanks!


RE: Using GPIO with OS - tllim - 06-07-2019

(05-31-2019, 01:56 PM)MikeA23 Wrote: Hi
Im new to with the system. I bought it two years ago but I was not able to use it before hehe

I want to use the Pine A64(+) to read several sensors, which are compatible with Arduino. I have two questions:

1) If I need to use the touch screen, that apparently only runs with Android 6.0.1, is there a way to also make use of the GPIO??

2) Are there libraries to use different sensors with those pins? or examples? I'm planing to use several sensors that work with analog outputs and I2C and SPI so I was wondering if there are info about that

Thanks!

The TP port is I2C with iinterrupt port, you can make use of the 3 GPIOs.