Added sleep after flushInput() on send()
Modified thresholds
Added delay before calling rpi_service
Renamed folder