WebScreen>
Drop files here to upload
or
Uploading file...
0%
0 B / 0 B
/
Connect device to view files
Quick Commands
WebScreen API Documentation
Display Functions
create_label_with_text('text')
Creates a text label on screen
create_image('filename')
Display an image file
set_background_color('#color')
Set screen background color
draw_rect(x, y, w, h, color)
Draw a colored rectangle
Network Functions
wifi_connect('ssid', 'pass')
Connect to WiFi network
http_get('url')
Perform HTTP GET request
http_post('url', data)
Perform HTTP POST request
Storage Functions
sd_write_file('path', data)
Write data to SD card file
sd_read_file('path')
Read data from SD card file
sd_list_files('/')
List files in directory
Utility Functions
delay(milliseconds)
Pause execution for specified time
print(message)
Output message to serial console
parse_json_value(json, key)
Extract value from JSON string
get_timestamp()
Get current unix timestamp