FORUM RULES (!!!!READ THIS FIRST BEFORE POSTING!!!!)
As with any forum, we ask you to first search for an answer to your problem or visit the FAQ
section. If you really can't find the answer there, consider which forum category your question best fits. This ensures that all the relevant information is kept in the right places
Make sure to name your posts in a descriptive way
In order to make it easier for other users to see your code and copy and paste it for testing
we request that you put your code between 3 back ticks ``` which will put your code in a nice scrollable window with context coloring of the syntax like so..
from m5stack import * from m5ui import * clear_bg(0x111111) btnA = M5Button(name="ButtonA", text="ButtonA", visibility=False) btnB = M5Button(name="ButtonB", text="ButtonB", visibility=False) btnC = M5Button(name="ButtonC", text="ButtonC", visibility=False)
If you are posting information about a terminal command please use 2 back ticks `` before and after the command to differentiate it from code snippets like so.
Any posts related to M5Stack, ESP-32, IoT etc.. are more than welcome. If you want to talk off topic please post in the General section of the forum. No racist, political, religious or otherwise defamatory topics are accepted on these forums. Posting such content will result in your post being deleted and your account being banned.
If you would prefer to discuss M5stack in your mother tongue, Please avoid posting to the English language forums, as both users and admin will probably not understand you. There are foreign language sections in the global communities section which are monitored by a moderator who speaks that language. If you don't see your language yet and there is enough interest you can request an admin to create a new language group for you.
Thanks for reading and happy posting
bricox last edited by bricox
For those not familiar with the Markdown ...
Snippets code example
here is an example code. ``` // this area is nested 3-backticks code block. const hello = "hello"; ```
- To mark the block, don't forget line breaks after
- You can use to ...
Result, after Copy/Paste to the left window :