Large change that removes the duplicated MIT notice withe a spdx tag Signed-off-by: Thomas Ingleby <thomas.ingleby@intel.com>
15 lines
306 B
JavaScript
15 lines
306 B
JavaScript
/*
|
|
* Author: Ron Evans (@deadprogram)
|
|
* Copyright (c) 2016 Intel Corporation.
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
"use strict";
|
|
|
|
const mraa = require('mraa');
|
|
console.log('MRAA Version: ' + mraa.getVersion());
|
|
|
|
// open connection to firmata
|
|
mraa.addSubplatform(mraa.GENERIC_FIRMATA, "/dev/ttyACM0");
|