'Set these B ports O/P and LOW
Input PORTB.0 'Pushbutton
High PORTB.1 'ChipSelect
Low PORTB.2 'SCK
Low PORTB.3 'SDI
PORTB.1=0 'ChipSelect
ShiftOut PORTB.3, PORTB.2, 1, [$00,$128]
PORTB.1=1 'ChipSelect
eso porque primero tienes que mandarle el codigo del wiper que vas a usar
y luego le mandas el valor variable que usaras!![]()
Bookmarks