libgosim

package module
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 4, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

README

libgosim

A library in go to simulate signals using time.

rampx1 . A ramp rising from 0 to 59.999 every minute

rampx2 . A ramp rising from 0 to 119.999 every minute

error . Returns an error signal

timeout . Sleeps forever. Must be handled by calling client.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrorOFF bool = false
View Source
var TimeoutOFF bool = false

Functions

func GetErrorOFF

func GetErrorOFF() bool

func GetTimeoutOFF

func GetTimeoutOFF() bool

func Ramp

func Ramp(dev string) (float64, error)

Ramp

func SetErrorOFF

func SetErrorOFF(onoff bool)

func SetTimeoutOFF

func SetTimeoutOFF(onoff bool)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL