variables flowcode9
-
- Posts: 56
- http://meble-kuchenne.info.pl
- Joined: Thu Aug 19, 2021 1:14 pm
- Has thanked: 2 times
- Been thanked: 1 time
variables flowcode9
Why can't the flowcode 9 variables be visible in the proteus ???
- Attachments
-
- exp_verb.png (187.19 KiB) Viewed 4390 times
Re: variables flowcode9
Hi,
To see the variables in proteus * .elf file you need in the file avra.bat instead of the key "-Os", register the key "-g". It should turn out like this:
"%~dp0..\bin\avr-gcc.exe" -mmcu=%1 -g -ffunction-sections -fdata-sections -funsigned-char -o %2 %3 -lm -Wl,-gc-sections.
In this case , the compiler will create a file .elf without optimization and proteus will be able to see the variables.
File avra.bat is located in the folder: "C:\Program Files (x86)\Flowcode\Common\Compilers\avrv5\batchfiles".
To see the variables in proteus * .elf file you need in the file avra.bat instead of the key "-Os", register the key "-g". It should turn out like this:
"%~dp0..\bin\avr-gcc.exe" -mmcu=%1 -g -ffunction-sections -fdata-sections -funsigned-char -o %2 %3 -lm -Wl,-gc-sections.
In this case , the compiler will create a file .elf without optimization and proteus will be able to see the variables.
File avra.bat is located in the folder: "C:\Program Files (x86)\Flowcode\Common\Compilers\avrv5\batchfiles".
Re: variables flowcode9
Hi
Sorry, but I do not know how send text to uart through the flowcode console.
Sorry, but I do not know how send text to uart through the flowcode console.
-
- Matrix Staff
- Posts: 1926
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 503 times
- Been thanked: 686 times
Re: variables flowcode9
Hello,
Ive created a new component that should simplfy this for you.
To get the new component simply go to the Help -> Library updates and then change files in use to full database.
Here is an example using the new component. Then simple type your data to transmit into the User Data console.
Ive created a new component that should simplfy this for you.
To get the new component simply go to the Help -> Library updates and then change files in use to full database.
Here is an example using the new component. Then simple type your data to transmit into the User Data console.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel