apologies, should have said...
it's curently sat on a plug board and the analog port used is set to 0 volts atm...
8 LED's on port B
power supply is the backup battery, single cell lithion ion battery curently at 3.8 volts...
I managed to find the problem... it hadn't actually crashed it's just port B was left in a 'random' state uppon startup...
I found this because at regular stages i got it to write the stage number into the onboard eprom and the read it back in the programmer and notices it had initialised and was running the main sequence...
So, the program is actually running...
But, i'm getting nothing up the serial test link to my PC... which works (same port, same command) in my test program...
Code:
SEROUT2 PORTD.0,16468,["V1:",DEC VOLT1H,".",DEC VOLT1L," RPM:",DEC RPM,10]
The test program uses...
Code:
SEROUT2 PORTD.0,16468,[dec abcd,10,13]
So their both the same, but i get data from the test program, but not the pulse motor program...
Any ideas why?
Thanks
Bookmarks