QW1 TechTools, QW1 Datasheet - Page 202

PROGRAMMER PIC MCU QUICKWRITER

QW1

Manufacturer Part Number
QW1
Description
PROGRAMMER PIC MCU QUICKWRITER
Manufacturer
TechTools
Series
QuickWriter™r
Type
QuickWriterr
Datasheets

Specifications of QW1

Contents
MCU Programmer with In-Circuit Serial Programming Cable and Optional GANG Adapters
For Use With/related Products
PIC Micro® MCU
For Use With
CBL-ICSP - CABLE PROG QUICKWRITER SERIALQW-4SSOP18 - ADAPTER QUICKWRITER 4GANG 18SSOPQW-4SSOP28 - ADAPTER QUICKWRITER 4GANG 28SSOPQW-4SO8/14W - ADAPT QUICKWRTR 4GANG 8/14SOIC WQW-4SO8/14N - ADAPT QUICKWRTR 4GANG 8/14SOIC NQW-4SOIC18 - ADAPTER QUICKWRITER 4GANG 18SOICQW-4ZIF18 - ADAPTER QUICKWRITER 4-GANG 18ZIFQW-4SOIC28 - ADAPTER QUICKWRITER 4GANG 28SOICQW-4PLCC44 - ADAPTER QUICKWRITER 4GANG 44PLCCQW-4ZIF40/28 - ADAPT QUICKWRITER 4GANG 40/28ZIFMP-ZIF14 - ADAPTER QUICKWRITER 14-PIN ZIFMP-SOIC8/14 - ADAPTER QUICKWRITER 8/14-SOICMP-SSOP18 - ADAPTER QUICKWRITER 18-SSOPMP-SSOP28 - ADAPTER QUICKWRITER 28-SSOPMP-14000 - ADAPTR QUICKWRTR PIC14000 28-PINMP-SOIC18 - ADAPTER QUICKWRITER 18-SOICMP-SOIC28 - ADAPTER QUICKWRITER 28-SOICMP-PLCC44 - ADAPTER QUICKWRITER 44-PIN PLCCMP-ZIF18/28 - ADAPTER QUICKWRITER 18/28PIN ZIFMP-ZIF40 - ADAPTER QUICKWRITER 40-PIN ZIF

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
QW152
Manufacturer:
Laird Technologies IAS
Quantity:
135
196
Value equ
Count equ
Init
Main
Check jb
Loop
Leds
PicTools Manual 3.0
The first step is to assemble the source code into hex code. To assemble the program,
choose Build from TDE's Run menu.
If the assembler finds any errors, it will give the line number and description of each error.
Before continuing, you’ll need to correct any errors and re-assemble the program (of
course, this should not occur, unless you typed the program yourself and perhaps made a
typo).
If the program assembles correctly, the assembler will produce a hex file, called
BARGRAPH.OBJ, in the APPS directory.
You can now select Run, and your circuit will operate as if you had already inserted a
20h
21h
org
jmp
org
setb
mov
mov
mov
clrb
mov
setb
setb
ADCON0.2,Check
mov
clc
rr
clc
rr
clc
rr
clc
rr
clc
rr
mov
cje
clc
rl
dec
jmp
xor
mov
jmp
000h
Init
005h
RP0
ADCON1,#00h
TRISA,#0FFh
TRISB,#00h
RP0
ADCON0,#00h
ADCON0.0
ADCON0.2
Value,ADRES
Value
Value
Value
Value
Value
Count,#01h
Value,#00h,Leds
Count
Value
Loop
Count,#0FFh
PortB,Count
Main
;Define two bytes for later use
;Make port A all analog
;Make port A all inputs
;Set ADC channel, conversion speed, etc.
;Loop until conversion done
;Copy analog value into Value
;analog readings of 0-255.
;Rotate Count left one bit
;Decrement Value
;LEDs are active-low, so invert Count
;Output Count on port B LEDs
;Set up reset vector at location 000h
;On reset, jump to beginning of program
;Program must begin at/after location 005h
;Switch to register bank 1
;Make port B all outputs
;Switch back to register bank 0
;Activate ADC
;Start analog conversion
;Divide Value by 32.
;Start Count at first bit position (bit 0)
;Jump if Value is 0
;Loop until Value is 0
;Repeat the process
Gives 0-7 for
© 2007 TechTools

Related parts for QW1