sosohan IOT
This repository will be used to study the IOT.
member : kimgunsoo, lightreal, junu, Kitae Kim
####### Start sosohan IOT #######
Run django server to control with REST API. $ ./01_run_django_server.sh
Request the REST command to django
Format: http://
command:
rasp_cmd_init : initialize GPIO pin.
rasp_cmd_deinit : deinitialize GPIO pin.
rasp_cmd_getstate : get GPIO pin state.
rasp_cmd_go : motor go.
rasp_cmd_back : motor back.
example > http://192.168.137.111:8000/rasp_cmd_go/ #################################
######### Cross Compile #########
Install raspberrypi cross toolchain. $ ./cross_tools/00_set_rpi_tools.sh
Set cross compile environment variable. $ source ./cross_tools/01_set_cross_env.sh
Build your source code. compiler : $RPI_TOOL/bin/arm-linux-gnueabihf-gcc include path : ?? library path : ?? #################################