Node Js Based server application to control Tactaboard. TactaServer V2
This is the source code for an application for controlling tactaboard Please refer to it to learn how to run this application.
- An installation of NODE JS
- npm
- socket.io
- serialport
- data-table
- express
-
Clone this repo into
~/TactaServerdirectory. -
Configure the parameters if needed
~/TactaServer/public/tacta.js:var boardTypes = ["TACTAVEST", "TACTAFAN"]; var hardCodedBoardValues = { baudRate: 19200, limit: 8, min: 80, max: 255, value: 100, debug: false }; -
Run command
npm installin~/TactaServerdirectory. -
Run command
node index. -
sudo npm start in
~/TactaServer. //Not implemneted yet
| Option | Default | Description |
|---|---|---|
limit |
8 |
Number of Tactors connect to the device. |
min |
80 |
Minimum value that can be given to the tactor. |
max |
255 |
Maximum value that can be given to the tactor. |
value |
100 |
Default value that is given to the tactor. |
boardTypes |
BoardTypes |
Type of Boards Available |
USAGE : npm start