28122 Parallax Inc, 28122 Datasheet - Page 297

KIT WHAT'S A MICRO:PARTS ONLY

28122

Manufacturer Part Number
28122
Description
KIT WHAT'S A MICRO:PARTS ONLY
Manufacturer
Parallax Inc
Datasheet

Specifications of 28122

Accessory Type
Parts Kit
Product
Microcontroller Accessories
Core Processor
PIC16C57c
Flash
128 Bytes
Operating Supply Voltage
9 V
Board Size
31 mm x 16 mm
For Use With/related Products
Board of Education Full Kit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
LOOP
' -----[ Subroutine - Display_Menu ]---------------------------------------
Display_Menu:
' -----[ Subroutine - Get_Request ]----------------------------------------
Get_Request:
' -----[ Subroutine - Read_Pushbutton_1 ]----------------------------------
Read_Pushbutton_1:
' -----[ Subroutine - Read_Pushbutton_2 ]----------------------------------
Read_Pushbutton_2:
' -----[ Subroutine - Read_Pot ]-------------------------------------------
Read_Pot:
DEBUG CLS, "MENU: ", CR, CR,
RETURN
DEBUGIN DEC1 request
request = request - 1
RETURN
DEBUG CLS, ? Pb1Pin
PAUSE DelayReader
RETURN
DEBUG CLS, ? Pb2Pin
PAUSE DelayReader
RETURN
HIGH PotPin
PAUSE DelayRc
RCTIME PotPin, 1, time
DEBUG CLS, ? time, "
PAUSE DelayReader
"1) Pushbutton 1", CR,
"2) Pushbutton 2", CR,
"3) Potentiometer", CR,
"4) Photoresistor", CR, CR
"

Related parts for 28122