Create new macro from interrupt

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
mnfisher
Valued Contributor
Posts: 953
http://meble-kuchenne.info.pl
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 104 times
Been thanked: 507 times

Create new macro from interrupt

Post 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

jgu1
Posts: 611
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 506 times
Been thanked: 132 times

Re: Create new macro from interrupt

Post 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

Steve-Matrix
Matrix Staff
Posts: 1249
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 167 times
Been thanked: 277 times

Re: Create new macro from interrupt

Post by Steve-Matrix »

Thanks - I've fixed this now.

medelec35
Matrix Staff
Posts: 1449
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 509 times
Been thanked: 472 times

Re: Create new macro from interrupt

Post 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
Interrupt Macros.png (22.55 KiB) Viewed 2517 times
Martin

jgu1
Posts: 611
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 506 times
Been thanked: 132 times

Re: Create new macro from interrupt

Post by jgu1 »

Hi Martin!

Ok, thank you. As Steve said he will fix it now so I will try to update now. :D

Have a nice easter.

Br Jorgen

medelec35
Matrix Staff
Posts: 1449
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 509 times
Been thanked: 472 times

Re: Create new macro from interrupt

Post 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.
Martin

mnfisher
Valued Contributor
Posts: 953
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 104 times
Been thanked: 507 times

Re: Create new macro from interrupt

Post 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

Steve-Matrix
Matrix Staff
Posts: 1249
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 167 times
Been thanked: 277 times

Re: Create new macro from interrupt

Post 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.

jgu1
Posts: 611
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 506 times
Been thanked: 132 times

Re: Create new macro from interrupt

Post by jgu1 »

Hi Martin!

" Hi Jorgen - how's it going? "

Fine Martin, thank´s, and with you? :D 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. :D

I still enjoy my Max7219 display every day :lol:

(thank´s Steve for info).

Have a nice Easter.

Br Jorgen

Post Reply