Categorygithub.com/Gonzih/odroid-show-golang
modulepackage
0.0.0-20230301185639-797a10f34c18
Repository: https://github.com/gonzih/odroid-show-golang.git
Documentation: pkg.go.dev

# README

ODRDOID-SHOW golang client

demo

Sample project

Installation

go get -u github.com/Gonzih/odroid-show-golang

Usage

package main

import (
	"log"
	"github.com/Gonzih/odroid-show-golang"
)

func main() {
	board, err := odroid.NewOdroidShowBoard("/dev/ttyUSB0")

	if err != nil {
		log.Fatal(err)
	}

	board.Clear()
	board.ColorReset()
	board.WriteString("hello from golang!")
	board.Ln()
	board.Fg(odroid.ColorBlack)
	board.Bg(odroid.ColorRed)
	board.WriteString("this is how you write data to your board")

	err = board.Sync() // will actualyl send buffer contents to the board

	if err != nil {
		log.Fatal(err)
	}
}

# Functions

No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author