Skip to content

tknhs/go-irMagician

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-irMagician

GoDoc

Simple Go Library for irMagician

Installation

go get github.com/tknhs/go-irMagician

Usage

This example is for irMaigician T.

package main

import (
	"fmt"
	"log"

	"github.com/tknhs/go-irMagician"
)

func main() {
	m, err := irMagician.New("/dev/tty.usbmodem1421")
	if err != nil {
		log.Fatal(err)
	}

	t, err := m.GetTemperature()
	if err != nil {
		log.Fatal(err)
	}
	fmt.Println(t)
}

License

This library is licensed under the MIT license.

Releases

No releases published

Packages

No packages published

Languages