All public logs

Jump to navigation Jump to search

Combined display of all available logs of Sensors in Schools. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).

Logs
  • 09:31, 8 November 2023 EdmondLascaris talk contribs created page Sending Aquarium Data via Serial to Raspberry Pi (Created page with "= Python - Splitting Data and Try and Except Statements = <syntaxhighlight lang="python"> #!/usr/bin/env python3 # dweet data import serial import datetime import time import requests if __name__ == '__main__': ser = serial.Serial('/dev/ttyUSB0', 9600, timeout=1) ser.reset_input_buffer() while True: time.sleep(0.1) if ser.in_waiting > 0: line = ser.readline().decode('utf-8').rstrip() print(f"Data separated using comm...")