RpiPinoutLive

Phoenix LiveView component to render Raspberry Pi pinout from https://pinout.xyz

This is a derivative of https://pinout.xyz by Pinout.xyz, used under CC BY-NC-SA 4.0

Each pin is a clickable element that will send a rpi_pinout event with the correlating pin and GPIO number values:

def handle_event("rpi_pinout", %{"gpio" => gpio, "pin" => pin}, socket) do
  # Handle GPIO things here
  # i.e. Turn on/off pin, Set configuration, 
end

Options: