8000 GitHub - docwyatt2001/onion-golang-blink: Onion Omega 2 + Golang = ❤️ Code for the tutorial on how to get started with Golang and Onion Omega
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

docwyatt2001/onion-golang-blink

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Onion Omega 2 + Golang

demo

demo2

Code for the blog post on how to get started with Golang and Onion Omega 2.

Pre-requisites

Hardware

  • Onion Omega 2
  • Any LED
  • 100 ohm resistor
  • Jumpers

Software

  • Golang installed

Schematic

Fotos

Running and playing with it

To cross compile this project to run in the Onion Omega 2, follow the steps:

  1. Run make build to generate the binary file blink.
  2. Copy the binary to the Omega2.
  3. Run it with ./blink on the device.
  4. Access http://omega-XXXX.local:9090, exchanging XXXX for the last 4 digits of the Mac address of your Omega2.
  5. Have Fun.

About

Onion Omega 2 + Golang = ❤️ Code for the tutorial on how to get started with Golang and Onion Omega

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 95.6%
  • Makefile 4.4%
0