Can BS2 do it?
I am new to the basic stamp.· I have this problem to solve.· Can the BS2 do it?
Inputs:
Auto/Manual Switch
8-bit parallel 2- byte data input ( Enable, clock, data(8) )
Knob generates pulse trains for positive and negative rotation on 2 separate inputs, 16 pulses/rotation
Auto Mode:
····· Input data goes into 16-bit binary register.
····· Knob rotation pulses ignored
Manual Mode:
····· Knob rotation pulses increment or decrement 16-bit register
····· Parallel input data ignored
Both Modes:
····· A change in register content· initiates
····· (1)a serial 24 bit output (ASCII code for “C” + register content)
····· (2)1 x 16 LCD display shows decimal value of (register content x 8)
··········· For example, a decimal value of 74124 would result in a display of··74.124 000 000· ( zeros, spaces, and decimal point are fixed)
Inputs:
Auto/Manual Switch
8-bit parallel 2- byte data input ( Enable, clock, data(8) )
Knob generates pulse trains for positive and negative rotation on 2 separate inputs, 16 pulses/rotation
Auto Mode:
····· Input data goes into 16-bit binary register.
····· Knob rotation pulses ignored
Manual Mode:
····· Knob rotation pulses increment or decrement 16-bit register
····· Parallel input data ignored
Both Modes:
····· A change in register content· initiates
····· (1)a serial 24 bit output (ASCII code for “C” + register content)
····· (2)1 x 16 LCD display shows decimal value of (register content x 8)
··········· For example, a decimal value of 74124 would result in a display of··74.124 000 000· ( zeros, spaces, and decimal point are fixed)
Comments