We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce75969 commit 6fbde71Copy full SHA for 6fbde71
code.py
@@ -0,0 +1,12 @@
1
+"""Example code"""
2
+
3
+from server import CubeServer, Text
4
5
+print("Connecting to the server...")
6
+connection = CubeServer()
7
+print("Connected!")
8
9
+connection.post(Text("Test from CircuitPython!"))
10
11
+print("Getting status:")
12
+print(connection.get_status())
package.sh
@@ -0,0 +1,4 @@
+#!/usr/bin/env bash
+zip -r cubeserver-api-circuitpython.zip . 2>&1 > /dev/null
+echo cubeserver-api-circuitpython.zip
0 commit comments