Hey there,
I have a FC10 project that currently uses an ILI9341 display.
I would like to replace it with an ILI9388 display.
I assumed that, by following this guide:
https://www.flowcode.co.uk/wiki/index.p ... _Component
I could simply replace the component and have all associated component macros automatically updated to the new component.
However, this does not seem to work as expected.
While I can indicate that the old component should be replaced by the new one, the settings from the original component are not transferred. Additionally, the existing component macros are not updated or converted to match the new component.
Am I missing a step, or is this functionality not fully supported?
Thanks in advance.
Replace component: how to?
-
MJU20
- Posts: 365
- http://meble-kuchenne.info.pl
- Joined: Tue Dec 08, 2020 5:11 pm
- Has thanked: 105 times
- Been thanked: 74 times
-
Steve-Matrix
- Matrix Staff
- Posts: 1822
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 263 times
- Been thanked: 421 times
Re: Replace component: how to?
That should work ok. I'll try this when I get a chance and try to find out what is going wrong
-
medelec35
- Valued Contributor
- Posts: 2272
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 698 times
- Been thanked: 768 times
Re: Replace component: how to?
Hello.
If I recall correctly, you can only replace a component if all the component functions have the same name and component exists.
In this case I can't see within component Library ILI9388
Have you got the correct part number?
If you are referring to ILI9488 then that does replace OK by the looks of it, in the test Project I created.
I'm happy to convert your project for you if you are facing issues.
You can PM your project if it is sensitive and wish it to remain private.
If I recall correctly, you can only replace a component if all the component functions have the same name and component exists.
In this case I can't see within component Library ILI9388
Have you got the correct part number?
If you are referring to ILI9488 then that does replace OK by the looks of it, in the test Project I created.
I'm happy to convert your project for you if you are facing issues.
You can PM your project if it is sensitive and wish it to remain private.
Martin
-
mnfisher
- Valued Contributor
- Posts: 1905
- Joined: Wed Dec 09, 2020 9:37 pm
- Has thanked: 154 times
- Been thanked: 896 times
Re: Replace component: how to?
... I posted a python script that does this at viewtopic.php?t=3279&hilit=Replace+component
It's not as smart - so you might need to tweak parameters afterwards - but it does work...
Martin
It's not as smart - so you might need to tweak parameters afterwards - but it does work...
Martin