NIGEL PIC Tutorial Hardware phần 6 pot

NIGEL PIC Tutorial Hardware phần 6 pot

NIGEL PIC Tutorial Hardware phần 6 pot

... previous tutorial, and subroutines written to read the joystick. ;Joystick routines with LCD display ;Nigel Goodwin 2002 LIST p=16F628 ;tell assembler what chip we are using include "P16F628.inc" ... HiX ;result for X pot LoX HiY ;result for Y pot LoY Flags endc LCD_PORT Equ PORTA LCD_TRIS Equ TRISA LCD_RS Equ 0x04 ;LCD handshake lines LCD_RW Equ 0x...

Ngày tải lên: 08/08/2014, 03:20

11 203 0
NIGEL PIC Tutorial Hardware phần 5 potx

NIGEL PIC Tutorial Hardware phần 5 potx

... tables don't cross a 2 56 byte boundary, so putting them at the start avoids this. ;LCD 16 bit counter - using LCD Busy line ;Nigel Goodwin 2002 LIST p=16F628 ;tell assembler what chip ... line to 1 call Pulse_e ;Pulse the E line high ;Nigel Goodwin 2002 LIST p=16F628 ;tell assembler what chip we are using include "P16F628.inc" ;include the defaults for th...

Ngày tải lên: 08/08/2014, 03:20

11 278 0
NIGEL PIC Tutorial Hardware phần 7 potx

NIGEL PIC Tutorial Hardware phần 7 potx

... RP0 ;select bank 1 bcf JOY_TRIS, PotX ;make PotX an output bcf JOY_PORT, PotX ;discharge capacitor bcf JOY_TRIS, PotY ;make PotY an output bcf JOY_PORT, PotY ;discharge capacitor bcf STATUS, ... RP0 ;select bank 1 bcf JOY_TRIS, PotX ;make PotX an output bcf JOY_PORT, PotX ;discharge capacitor bcf JOY_TRIS, PotY ;make PotY an output bcf JOY_PORT, PotY ;discharge capacitor b...

Ngày tải lên: 08/08/2014, 03:20

11 163 0
NIGEL PIC Tutorial Hardware phần 9 potx

NIGEL PIC Tutorial Hardware phần 9 potx

... the 24C02 (2 56 bytes), 24C04 (512 bytes), 24C08 (1024 bytes) or 24C 16 (2048 bytes), these all use 'standard addressing', you can also use a 24C32 (40 96 bytes) or 24LC64 (8192 bytes) ... ;and store in temp register btfss tmp3, LED6 ;and test LED bit for toggling bsf LED_PORT, LED6 ;turn on LED btfsc tmp3, LED6 bcf LED_PORT, LED6 ;turn off LED bcf Flags2, New ;and ca...

Ngày tải lên: 08/08/2014, 03:20

12 207 0
NIGEL PIC Tutorial Hardware phần 1 pptx

NIGEL PIC Tutorial Hardware phần 1 pptx

... in place of PortA. PIC1 6F628-4MHz PIC1 6F8 76- 20MHz Initialisation code LIST p=16F628 include "P16F628.inc" __config 0x3D18 LIST p=16F8 76 include "P16F8 76. inc" __config ... graded to provide the two different versions. PIC Tutorial Changes Changes for the PIC1 6F8 76 board The PIC1 6F8 76 is very similar to the 16F628, and uses the same 14 bit comm...

Ngày tải lên: 08/08/2014, 03:20

10 208 0
NIGEL PIC Tutorial Hardware phần 2 pdf

NIGEL PIC Tutorial Hardware phần 2 pdf

... it with a number (PORTB is actually 0x 06) . ;Tutorial 1.4 - Nigel Goodwin 2002 LIST p=16F628 ;tell assembler what chip we are using include "P16F628.inc" ;include the defaults for ... plus the 'call Delay' lines. ;Tutorial 1 .6 - Nigel Goodwin 2002 LIST p=16F628 ;tell assembler what chip we are using include "P16F628.inc" ;include the default...

Ngày tải lên: 08/08/2014, 03:20

10 230 0
NIGEL PIC Tutorial Hardware phần 3 ppt

NIGEL PIC Tutorial Hardware phần 3 ppt

... introducing another PIC command we can make this smaller, and much more elegant. ;Tutorial 1.7 - Nigel Goodwin 2002 LIST p=16F628 ;tell assembler what chip we are using include "P16F628.inc" ... pressed, extinguishing all other LED's. ;Tutorial 2.1 - Nigel Goodwin 2002 LIST p=16F628 ;tell assembler what chip we are using include "P16F628.inc" ;in...

Ngày tải lên: 08/08/2014, 03:20

11 149 0
NIGEL PIC Tutorial Hardware phần 4 doc

NIGEL PIC Tutorial Hardware phần 4 doc

... -302 ;suppress bank selection messages ;Tutorial 2.4 - Nigel Goodwin 2002 LIST p=16F628 ;tell assembler what chip we are using include "P16F628.inc" ;include the defaults for the ... selected indicated by the corresponding LED. ;Tutorial 2.3 - Nigel Goodwin 2002 LIST p=16F628 ;tell assembler what chip we are using include "P16F628.inc" ;include the defau...

Ngày tải lên: 08/08/2014, 03:20

12 192 0
NIGEL PIC Tutorial Hardware phần 8 docx

NIGEL PIC Tutorial Hardware phần 8 docx

... obtained using this design. ;Tutorial 5_1 ;Read SIRC IR with LCD display ;Nigel Goodwin 2002 LIST p=16F628 ;tell assembler what chip we are using include "P16F628.inc" ;include the ... from zero, not from one). ;Tutorial 5.2 - Nigel Goodwin 2002 ;Sony SIRC IR transmitter LIST p=16F628 ;tell assembler what chip we are using include "P16F628.inc" ;incl...

Ngày tải lên: 08/08/2014, 03:20

12 232 0
NIGEL PIC Tutorial Hardware phần 10 pptx

NIGEL PIC Tutorial Hardware phần 10 pptx

... and outgoing data bits. The two closed links on the RC7 and RC6 lines are for connection to the 16F8 76 board (the 16F8 76 uses RC6 and RC7 for it's USART connection), and are the two top ... the 16F628 board (the 16F628 uses RB1 and RB2 for it's USART connection), and are the two top track breaks shown on the bottom view of the board below. So, for use with the 16F8 76 boar...

Ngày tải lên: 08/08/2014, 03:20

13 284 0
w