An open API service indexing awesome lists of open source software.

https://github.com/asig/amigo

"Arduino Minecraft Interface" binary written in Go
https://github.com/asig/amigo

arduino golang minecraft

Last synced: 5 months ago
JSON representation

"Arduino Minecraft Interface" binary written in Go

Awesome Lists containing this project

README

          

# amigo

`amigo` is a program that allows you to control an Arduino from
Minecraft, heavily inspired by https://www.instructables.com/id/Arduino-Minecraft-Interface/

The main reason for writing this was that my son got a ["Adventskalender MAKERFACTORY Programmieren mit Minecraft™ und Windows-Java" advent calendar](https://www.conrad.ch/de/adventskalender-makerfactory-programmieren-mit-minecraft-und-windows-java-1662789.html),
but the shipped software didn't work at all... As a nice side effect, it now works also under macOs and Linux :-)

# Build
```bash
go get github.com/tarm/serial
go build
```

# Installation
Just copy the binary to somewhere on your disk. Feel free to copy it into the
logs directory as described on instructables.com

# Usage
1. Start Minecraft
2. `amigo [-logfile ] [-serial ] [-baud ] [-verbose]`

## Flags

| Flag | Meaning |
|--------------|------------------------------------------------------------------------------|
| `-logfile` | Path to Minecraft's logfile. Default is 'latest.log' |
| `-serial` | COM-Port to use, e.g. COM3 |
| `-baud` | Baud rate. Default is 9600 |
| `-verbose` | If set, `amigo` is quite chatty and lets you know in detail what it is doing |

Example: `amigo -logfile %APPDATA%\.minecraft\logs\latest.log -serial COM3 -baud 9600`