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?
- 292 All Categories
- 104 Announcements & News
- 48 Product News - New Product/Product Change Notice/ End-of-life
- 181 Welcome Developers!
- 49 Unboxing & Project Sharing
- 20 Tech Updates
- 412 UP Products
- UP 4000
- 12 UP Xtreme i11
- 21 UP Squared 6000
- 40 UP Squared Pro
- 132 UP Xtreme
- 797 UP Squared
- 1.4K UP Board
- 86 UP Core Plus
- 217 UP Core
- 3 UP Xtreme Lite
- 41 UP AI Edge
- 213 Starter Kits & Peripheral