Page 1 of 1
Create new macro from interrupt
Posted: Mon Apr 11, 2022 9:45 pm
by mnfisher
A small issue:
To a flowchart (I used esp32) add an interrupt macro - I used an Rx interrupt.
On interrupt - create new macro -> Test
Then click 'OK' (not Ok and edit macro - which would be the usual action?).
The macro is created - but doesn't appear in the macro tabs nor in the user macros->flowchart/blocks/c code etc list. Some things will cause it to appear (creating another macro, import macro (even if cancelled), clicking delete macro (again can be cancelled)) - others (adding a block to an open macro, adding a component) do not.
Seems the 'ok' doesn't generate an 'update' message? Normal action would be for the new macro to appear in the tab list at top of main screen and in the viewAs menus?
Martin
Re: Create new macro from interrupt
Posted: Tue Apr 12, 2022 1:22 pm
by jgu1
Hi Martin!
I experience the same thing. After have created the new Marco, I have to save the project shut down fc and restart then the new macro is with. It was not like that before.
Br Jorgen
Re: Create new macro from interrupt
Posted: Tue Apr 12, 2022 1:46 pm
by Steve-Matrix
Thanks - I've fixed this now.
Re: Create new macro from interrupt
Posted: Tue Apr 12, 2022 4:29 pm
by medelec35
Hello.
jgu1 wrote: ↑Tue Apr 12, 2022 1:22 pm
I have to save the project shut down fc and restart then the new macro is with.
Until a fix is released, there is no need to shut FC down.
The new macro will always appear in View, Project Explorer, Macros

- Interrupt Macros.png (22.55 KiB) Viewed 5518 times
Re: Create new macro from interrupt
Posted: Tue Apr 12, 2022 7:07 pm
by jgu1
Hi Martin!
Ok, thank you. As Steve said he will fix it now so I will try to update now.
Have a nice easter.
Br Jorgen
Re: Create new macro from interrupt
Posted: Tue Apr 12, 2022 8:21 pm
by medelec35
Although it's fixed, it won't be available until the next update is released.
That is the reason I mentioned the Project Explorer.
Thank you.
You have a nice easter as well.
Re: Create new macro from interrupt
Posted: Tue Apr 12, 2022 10:18 pm
by mnfisher
Hi Jorgen - how's it going?
Thanks - Steve and Martin.. The fact that the macro appears in the macros list makes it even stranger - I just added 4 macros which show in this list - but not under the Show as... actions.
Martin
Re: Create new macro from interrupt
Posted: Wed Apr 13, 2022 9:38 am
by Steve-Matrix
The issue with the current release is that creating a new macro in the interrupt icon does not update the macro lists under the "show as..." buttons on the ribbon. The macro is created ok and should be available everywhere else except under those buttons.
Re: Create new macro from interrupt
Posted: Wed Apr 13, 2022 8:19 pm
by jgu1
Hi Martin!
" Hi Jorgen - how's it going? "
Fine Martin, thank´s, and with you?

Try to make some projects with Flowcode and this is going well with help from all the good kind helper here in forum. I like to make some project which is usefull. And learn some new almost every day

As I have said before, Flowcode is amazing.
I still enjoy my Max7219 display every day
(thank´s Steve for info).
Have a nice Easter.
Br Jorgen