Skip to main content

Contuino client.

Project description

Contuino project: make arduino controlled games


from contuino import *

board = MyBoard()
board.board_port = 'COM3'
board.baud_rate = 115200
board.server_address = 'x.x.x.x'
board.server_port = ''
board.wifi_ssid = ''
board.wifi_password = ''
board.username = 'testhash' = 'board name'
board.message = 'board message'

# assign action SHOOT to gpio pin 2
action_digital = GpioAction()
action_digital.event = Events.SHOOT = 2
action_digital.sensor = Sensors.TOUCH
action_digital.sensor_code = "XXXX1234"

# assign action SHOOT to analog pin 0
action_analog = GpioAction()
action_analog.event = Events.SHOOT = 0
action_analog.analog = True
action_analog.sensor = Sensors.TOUCH
action_analog.sensor_code = "XXXX1234"

# flash micropython

# deploy and initialize contuino script

# start serial prompt


flashing micropython
generating the script for a board running micropython
deploying the boot script to the board running micropython
reading analog and digital sensor input
sending data to server
opening putty serial prompt


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

contuino-0.0.5.dev0.tar.gz (401.3 kB view hashes)

Uploaded source

Built Distribution

contuino-0.0.5.dev0-py2.py3-none-any.whl (799.5 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page