I've used the DT_INTS sucessfully with an 18F4550. I had to move to an 18F87J50 but the DT_INTS would not compile. Not sure if I'm doing something wrong or if the DT_INTS was never tested with J series PIC's. When I compile, I get the following warning message:
Code:
Unable to fit variable VP_DelayCount in requested bank 0
In the "VirtualPort.bas" code, I changed this code:
Code:
VP_DelayCount VAR WORD BANK0 ; Used for internal Delay only
to this:
Code:
VP_DelayCount VAR WORD BANK1 ; Used for internal Delay only
and it compiled as expected. I have no clue if this will cause unexpected problems with my program or if this is the correct way to solve it but I haven't noticed any ill effects yet. Seems like this problem could be related to the SFR's but it's way above my level of knowledge.
Just thought I'd pass it along.
Bookmarks