Hi,
i have the C-Code Simulation Module and i can't simulate writes or reads to arduino/avr registers.
Here is an example C-Code:
TCCR0A=(1<<WGM01); //Set the CTC mode
OCR0A=0xF9; //Value for ORC0A for 1ms
i also can't simulate calls to arduino functions:
wdt_disable();
The error message is always that it can't find the register names and the function names.
Is there some additional configuration needed?
Or isn't it posible to simulate some kind of c-code?
C-Code Simulation
-
- Posts: 2
- http://meble-kuchenne.info.pl
- Joined: Thu Sep 30, 2021 6:53 pm
Re: C-Code Simulation
Here is a simple example that producecs the error with C-Code Simulation enabled.
- Attachments
-
- Flowcode1.fcfx
- (6.1 KiB) Downloaded 550 times
-
- Matrix Staff
- Posts: 1469
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 204 times
- Been thanked: 348 times
Re: C-Code Simulation
Flowcode will not simulate direct chip register access, C code or calls to Arduino functions.