Look fine but there's 2 mistake in this
Code:
DEFINE HSER_CLOERR 1
should be
Code:
DEFINE HSER_CLROERR 1
__________________________________________________
Code:
INCLUDE "modedefs.bas"
Nowhere in your code you're using MSBPRE, LSBPRE or else, you're using the SHIFTIN/SHIFTOUT mode # instead. You can remove this INCLUDE line.
__________________________________________________
Just for safety sake, you should set CS0, CS1 to high before the main loop. Just before the PAUSE 1000
Last edited by mister_e; - 28th September 2006 at 04:16.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks