GP2 on a 10F202 as output


Results 1 to 15 of 15

Threaded View

  1. #5
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    yup OPTION.5 won't work unless you decide to redefine it
    Code:
    @OPTION=OPTION_REG
    OPTION VAR BYTE EXT
        ' or the simple one
    OPTION VAR OPTION_REG
    Doesn't help if you don't know OPTION_REG

    In this case you could still open the filename.ASM file, there you'll have...
    Code:
    R0              		EQU	RAM_START + 000h
    R1              		EQU	RAM_START + 002h
    R2              		EQU	RAM_START + 004h
    FLAGS           		EQU	RAM_START + 006h
    R4              		EQU	RAM_START + 007h
    R3              		EQU	RAM_START + 008h
    GOP             		EQU	RAM_START + 00Ah
    OPTION_REG      		EQU	RAM_START + 00Bh
    RM1             		EQU	RAM_START + 00Ch
    RR1             		EQU	RAM_START + 00Dh
    SOFT_STACK_PTR  		EQU	RAM_START + 00Eh
    TRISIO          		EQU	RAM_START + 00Fh
    SOFT_STACK      		EQU	RAM_START + 010h
    Last edited by mister_e; - 7th January 2007 at 12:27.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. Help changing CCP3 output pin
    By ChrisHelvey in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 15th July 2008, 02:30
  2. Bit Banging input to output on PIC16F876A
    By Bronurstomp in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 26th June 2008, 19:50
  3. Serious Serial Situation Setbacks...
    By Dansdog in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 7th February 2007, 03:46
  4. Using LEDs as light sensors
    By skimask in forum Code Examples
    Replies: 3
    Last Post: - 30th December 2006, 22:19
  5. HSEROUT Newbie question/problem
    By Mark Scotford in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 11th July 2006, 14:44

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts