DHT11 Temp & Humidity Sensor icon DHT11 Temp & Humidity Sensor Read DHT11 temperature and humidity on Arduino (signal pin 4) using EZ-Genuino_DTH11_Uno firmware; exposes $Temp and $Humid variables. Try it →
Singapore
Asked — Edited

Colour In Scripts

Hi guys,

Is there a way where I can set different colors for different parts in a script so that each individual parts can be easily identified? It is so that when I explain parts of my script to others, I don't have to burn time searching for them in the big script chunk. Is is already in existence (in which case I'd be happy if someone could point me to it) or is there a thread for it?

Thanks in advance guys!


ARC Pro

Upgrade to ARC Pro

Stay at the forefront of robot programming innovation with ARC Pro, ensuring your robot is always equipped with the latest advancements.

Author Avatar
United Kingdom
LinkedIn Twitter Google+ YouTube
#1  

No, this is not currently a feature of the EZ-Script editor. However, watch for future updates as knowing DJ he may add that function.

Author Avatar
Singapore
#2  

Thanks Rich! Will keep tab on future updates...

Author Avatar
PRO
Synthiam
LinkedIn Thingiverse Twitter YouTube GitHub
#3  

Use comments for separating code. Comments are lines starting with a # (number sign)


# *********************************************
# This is a section of code for printing
# *********************************************
print("Hello")

# *********************************************
# This is a section for saying hello
# *********************************************
SayEZB("Hello there")

# *********************************************
# This is the end of the file
# *********************************************