Suggest how to debug this?

General discussion on mikroPascal PRO for dsPIC30/33 and PIC24.
Author
Message
jpc
Posts: 1986
Joined: 22 Apr 2005 17:40
Location: France 87

Re: Suggest how to debug this?

#16 Post by jpc » 18 Apr 2011 15:55

Jim,

try to get as short main looptimes as possible, it is unlikely you have to write to GLCD so often, by only updating the display when really needed i succeeded to get looptimes of ~5 ms on P18 dealing with 8 portexpanders, LCD, Ethernet etc. Probably most of the GLCD-code is just delay's, unfortunately these cannot be used.
Au royaume des aveugles, les borgnes sont rois.

JimKueneman
Posts: 417
Joined: 10 Jan 2009 22:03

Re: Suggest how to debug this?

#17 Post by JimKueneman » 22 Apr 2011 19:06

When I was using a LCD 5ms was about where I was as well. In the final version I will slow down the GLCD update rate. Right now I am using it to help debug what is happening in my code through displaying my internal data structures.

Thanks for the help.
Jim

Post Reply

Return to “mikroPascal PRO for dsPIC30/33 and PIC24 General”