Buzby
Senior Member
Hi All,
My switch capture project is up again, and I'm at the stage where I'm trying to get data out of the PICaxe into a PC, (to be replaced eventually by another PICaxe. )
The attached code works fine with hserout commented out, but not when hserout is active.
In the first case I can create lots of rapid changes on PortC, and pinB.4 indicates each change.
But when the hserout is active the interrupt code locks up for about a minute if I make even just a few changes to PortC. I know that the Main_loop code remains running throughout this lock-up, because the main loop activity indicator is still flashing.
Can anyone give me any ideas what I should do next ?.
( I've got a freq meter, some multimeters, an un-calibrated dual trace scope, and a sore head ! )
My switch capture project is up again, and I'm at the stage where I'm trying to get data out of the PICaxe into a PC, (to be replaced eventually by another PICaxe. )
The attached code works fine with hserout commented out, but not when hserout is active.
In the first case I can create lots of rapid changes on PortC, and pinB.4 indicates each change.
But when the hserout is active the interrupt code locks up for about a minute if I make even just a few changes to PortC. I know that the Main_loop code remains running throughout this lock-up, because the main loop activity indicator is still flashing.
Can anyone give me any ideas what I should do next ?.
( I've got a freq meter, some multimeters, an un-calibrated dual trace scope, and a sore head ! )
Attachments
-
2.6 KB Views: 35