Ready for wsocket
This commit is contained in:
@@ -1,13 +1,16 @@
|
||||
import Firmata from 'firmata';
|
||||
|
||||
export const comport = '/dev/ttyUSB0';
|
||||
export const board = new Firmata(comport);
|
||||
export const comport: string = '/dev/ttyUSB0';
|
||||
export const board: Firmata = new Firmata(comport);
|
||||
|
||||
export const PIN = {
|
||||
servo: 0,
|
||||
rgb_led: {
|
||||
r: 10,
|
||||
g: 9,
|
||||
b: 8
|
||||
export const suBoard = {
|
||||
connected: false,
|
||||
PIN: {
|
||||
servo: 0,
|
||||
rgb_led: {
|
||||
r: 10,
|
||||
g: 9,
|
||||
b: 8
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user