;********************************************************************************* ; gpspeed-test-Ser1 GpSpeed test motor's ; Louse@RotaryRacer ;********************************************************************************* ; ; ; Tests the serial TX pin is working. ; ; GpSpeed pins are: ; B.1 LED ; C.2 Motor PWM ; C.1 Fan PWM ; A.0 Analogue Input 0, I0, throttle ; A.1 Analogue Input 1, I1, misc ; A.2 Analogue Input 2, Votage measurement ; A.3 Analogue Input 3, Current measurement (Hall effect) ; B.4 Analogue/Digital Input, I2 ; ; B.2 Analogue Input 8, Current measurement (Raw) ; B.0 Error, error from Motor PWM ; C.3 I2C Clk ; C.4 I2c DAT ; C.0 User 0, I2c Int ; B.3 User 1 ; C.6 SER1 TX ; C.7 SER1 RX ; gloop: b1 = "A" ; Sets b1 to the "A" character value serout C.6,N2400,(b1) ; Outputs the character in serial form at 2400 baud pause 100 ; Delay for 100ms goto gloop