Structured
This commit is contained in:
13
src/setup/index.ts
Normal file
13
src/setup/index.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import Firmata from 'firmata';
|
||||
|
||||
export const comport = '/dev/ttyUSB0';
|
||||
export const board = new Firmata(comport);
|
||||
|
||||
export const PIN = {
|
||||
servo: 0,
|
||||
rgb_led: {
|
||||
r: 10,
|
||||
g: 9,
|
||||
b: 8
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user