Documentation ¶
Overview ¶
Package pi1 provides hardware initialization, automatically on import, for the Raspberry Pi 1 single board computer.
This package is only meant to be used with `GOOS=tamago GOARCH=arm` as supported by the TamaGo framework for bare metal Go on ARM SoCs, see https://github.com/f-secure-foundry/tamago.
Index ¶
Constants ¶
View Source
const ( // Activity LED // change the value to 0x10 for older Pi A and Pi B boards, keep the value for newer A+ and B+ boards ACTIVITY = 0x2f // Power LED - not controllable by the CPU on older Pi A and Pi B boards, only on newer A+ and B+ boards POWER = 0x23 )
LED GPIO lines
Variables ¶
View Source
var Board pi.Board = &board{}
Board provides access to the capabilities of the Pi 1.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.