I have attempted to use the ClearDisplay() macro on the following displays and found that it does not clear the display in the simulation.
*ssd1306_i2c
*ili9488_SPI
*ILI9341_SPI
I am using Flowcode V10.
ClearDisplay() not working in simulation panel.
-
- Posts: 4
- http://meble-kuchenne.info.pl
- Joined: Tue Aug 16, 2022 10:59 am
- Been thanked: 1 time
Re: ClearDisplay() not working in simulation panel.
Here is the project file that demonstrates the problem.
Thanks.
Thanks.
- Attachments
-
- Display test.fcfx
- (12.98 KiB) Downloaded 45 times
-
- Matrix Staff
- Posts: 1475
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 522 times
- Been thanked: 477 times
Re: ClearDisplay() not working in simulation panel.
This is what the display shows when I run your project file:
Make sure the Flowcode component library is fully up to date by Help>Library Updates... Change the Files in-use to full database.
After updating reload your project.
What version of Flowcode v10 are you running?
Just click on the question mark on the right-hand side, near the top.
Just an observation, one of your print macros has transparent set to 1 and the other set to 0
When printing numbers or text in the same location, I would recommend setting transparent set to 0.
That looks correct to meMake sure the Flowcode component library is fully up to date by Help>Library Updates... Change the Files in-use to full database.
After updating reload your project.
What version of Flowcode v10 are you running?
Just click on the question mark on the right-hand side, near the top.
Just an observation, one of your print macros has transparent set to 1 and the other set to 0
When printing numbers or text in the same location, I would recommend setting transparent set to 0.
Martin
Re: ClearDisplay() not working in simulation panel.
I am running version 10.0.1.18
I have run the full library update as instructed and the ClearDispaly() macro is still not working. I have also corrected the transparency issue.
This is the output I get when I run the code.
I have run the full library update as instructed and the ClearDispaly() macro is still not working. I have also corrected the transparency issue.
This is the output I get when I run the code.
-
- Valued Contributor
- Posts: 1203
- Joined: Thu Dec 03, 2020 10:57 am
- Has thanked: 289 times
- Been thanked: 424 times
Re: ClearDisplay() not working in simulation panel.
Hi
I'm running v10.0.2.21 with full library updates and it runs fine for me too.
Go to File > Global Settings > and make sure Check for Core Updates is enabled. That should update you to the same version as I'm using.
Regards
I'm running v10.0.2.21 with full library updates and it runs fine for me too.
Go to File > Global Settings > and make sure Check for Core Updates is enabled. That should update you to the same version as I'm using.
Regards
-
- Matrix Staff
- Posts: 1475
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 522 times
- Been thanked: 477 times
Re: ClearDisplay() not working in simulation panel.
The latest v10 is version v10.0.2.21
To get that version, goto File>Global Settings
Make sure Check for core updates on launch is ticked.
If it was not, then after ticking it, close Flowcode and then run it again.
You should get a small window popping up on the bottom right stating core update is available.
Click on the text to update to the latest version.
If for some reason You can't see the message then as a last resort, you could uninstall Flowcode and download the latest version from here.
With your project running, select Help>Library updates.
Leave the drop-down as Files in-use
Select Show up-to-date files
For the gLCD make sure the Current and New Revisions are the same versions and all the colour shapes are green within the Current Revision section
Edit: I was uninstalling and reinstalling to make sure everything is correctly working.
While I was doing that chipfryer27 kindly helped as well.
Sorry for any duplication, but there could be additional information that might help.
To get that version, goto File>Global Settings
Make sure Check for core updates on launch is ticked.
If it was not, then after ticking it, close Flowcode and then run it again.
You should get a small window popping up on the bottom right stating core update is available.
Click on the text to update to the latest version.
If for some reason You can't see the message then as a last resort, you could uninstall Flowcode and download the latest version from here.
With your project running, select Help>Library updates.
Leave the drop-down as Files in-use
Select Show up-to-date files
For the gLCD make sure the Current and New Revisions are the same versions and all the colour shapes are green within the Current Revision section
Edit: I was uninstalling and reinstalling to make sure everything is correctly working.
While I was doing that chipfryer27 kindly helped as well.
Sorry for any duplication, but there could be additional information that might help.
Martin
Re: ClearDisplay() not working in simulation panel.
Updating to the latest version resolved the issue; I hadn't noticed that there was a new core update available.
Thanks!
Thanks!