Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 355 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 355 Bytes

vantageloops

vantageloops is a dead simple Davis Vantage driver implemented in Scala.

How to use

val system: ActorSystem = ActorSystem("AS")

def processLoop(loop: Either[VantageError, Loop]): Unit = {
    loop.foreach(println)
}

val options = VantageOptions("/dev/ttyUSB0", 19200, 3, processLoop)
system.actorOf(Vantage(options))