Structured

This commit is contained in:
2024-03-01 19:28:20 +07:00
parent 9b30e597e9
commit 1ca8328e7f
6 changed files with 106 additions and 78 deletions

13
src/setup/index.ts Normal file
View 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
}
}