graystone

Robots with Dart


License
Apache-2.0

Documentation

Graystone

pub package Build Status

Inspired by cylon.js

The rise of Dart Bot !

import 'package:graystone/graystone.dart';
import 'package:graystone/graystone_firmata.dart';
import 'package:graystone/graystone_gpio.dart';

void main() {

    final firmataConn = new FirmataConnection();
    final led = new Led(firmataConn, 13);

    new Robot([firmataConn], [led])
            ..behaviour = (() => led.strobe())
            ..start();

}