Hello !
I wanted to ask why FLOWCODE 9 _ AVR doesn't have all interrupts?
interrupts
-
- Posts: 56
- http://meble-kuchenne.info.pl
- Joined: Thu Aug 19, 2021 1:14 pm
- Has thanked: 2 times
- Been thanked: 1 time
-
- Matrix Staff
- Posts: 1471
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 204 times
- Been thanked: 348 times
Re: interrupts
Flowcode's interrupt icon does allow these interrupts to be used, but you would need to resort to using some C code for any that are not implemented already in Flowcode. To do this, select "custom" from the list of available interrupts and fill in the appropriate boxes for enabling the interrupt and for determining if it has been called.
The attached program should help show how this can be done. You will need to enter the correct C code for the interrupt you wish to use, which will be similar in nature to the existing built-in interrupts.
The attached program should help show how this can be done. You will need to enter the correct C code for the interrupt you wish to use, which will be similar in nature to the existing built-in interrupts.
- Attachments
-
- avr custom interrupt.fcfx
- (8.35 KiB) Downloaded 256 times