Hi everyone, I would like to have guidance on this task
I have this code that is working fine, it prints on the screen of the lcd my value. My need is to make the Cyberpi comunicate via Bluetooth or USB to an application that read the COM4 of the cyberpi. Is it that possible? I allready make a python code that is running on my pc and do exactly the same thing, but I would like the cyberpi to have a standalone program that sends data, and another program to acquire data.
Is it possible? Thanks for your time reading till here.
import event, time, cyberpi
@event.start
def on_start():
cyberpi.display.show_label("Motion-sensing", 16, "top_mid")
cyberpi.table.add(1, 1, "Pitch angle")
cyberpi.table.add(2, 1, "Roll angle")
cyberpi.table.add(3, 1, "Yaw Angle")
while True:
pitch = cyberpi.get_pitch()
roll = cyberpi.get_roll()
yaw = cyberpi.get_yaw()
# Update the table on CyberPi display
cyberpi.table.add(1, 2, pitch)
cyberpi.table.add(2, 2, roll)
cyberpi.table.add(3, 2, yaw)
#Comunicate with serial the 3 values