Hi, Is there some configuration to see float point variable values at debug window ? I maked a example, using PROTON to generate the code, I can see integer but not float values at CPU variables window.
Ricardo Urio
Float point view
Float point view
- Attachments
-
- FloatPoint Test.rar
- (16.97 KiB) Downloaded 88 times
Re: Float point view
Yes, if you've got an update Proteus version then you should add the following property into the 'Other Properties' field of the PIC18:uriotech wrote:Hi, Is there some configuration to see float point variable values at debug window ?
DT_FLOAT=MICROCHIP_BIGENDIAN
We have added this format new support for the .cof files used by CCS C compiler but I cannot see reason why it shouldn't work for .cof files generated by PROTON.
Find also attached your example modified as above mentioned.
- Attachments
-
- FloatPoint Test_1.rar
- (31.24 KiB) Downloaded 253 times
Kind regards,
Ettore Arena - Labcenter Electronics.
Ettore Arena - Labcenter Electronics.