All pins at PIN-Head as Input/Output pin?
am I able to use all pins at the hat connector as GPIO for example to blink a light or react on a mechanical switch?
In this document https://wiki.up-community.org/Pinout_UP2 it sound like "yes":
On UP^2 at system start all the pin in the hat connector are configured in function mode.
So for example the hat pin 3 associated with I2C_SDA function at start is configured as an I2C channel
You can switch the function after booting accessing the gpio pin using linux sysfs gpio interface. For example the following commands will blink an led connected to pin 13 :
Am I right?
- 271 All Categories
- 104 Announcements & News
- 37 Product News - New Product/Product Change Notice/ End-of-life
- 175 Welcome Developers!
- 49 Unboxing & Project Sharing
- 16 Tech Updates
- 257 UP Products
- 21 UP Squared Pro
- 110 UP Xtreme
- 768 UP Squared
- 1.3K UP Board
- 83 UP Core Plus
- 210 UP Core
- 3 UP Xtreme Lite
- 37 UP AI Edge
- 207 Starter Kits & Peripheral