HDBaggy / Sboard

learning c

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sboard

learning c

  1. Compile readSwitch.cpp
  2. Compile board.cpp

// For compiling Server

  1. Goto Multichat folder and run "make" command
  2. After generating build, move chat build to switchboard folder

// FInally run two files

  1. ./board
  2. ./chat

// Infinity copy files to /etc/systemd/system Register to systemctl using below sequential programs

systemctl daemon-reload foo.service
systemctl enable foo.service
systemctl start foo.service
systemctl status foo.service

Alternatively edit "/etc/rc.local" file add below code above exit 0 line

/home/pi/Sboardv2/switchboard/board &

Below are static commands:

test = for initialisation s = for status t1 = for toggle

Mac:

echo "t1" | nc raspberrypi.local 30666

About

learning c


Languages

Language:C++ 96.3%Language:C 3.6%Language:Makefile 0.1%Language:Shell 0.0%