12f675 probably a silly question


Closed Thread
Results 1 to 24 of 24

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default

    PORT TRIS
    -------------
    GPIO TRISIO
    PORTA TRISA ' errr... PORTB?
    PORTL TRISL
    PORTH TRISH
    But... for #7, if there's .... euhhh
    Last edited by mister_e; - 20th November 2006 at 02:43.
    Steve

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

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


    Did you find this post helpful? Yes | No

    Default

    LMAO!! NEVER MIND i contradict myself... and i will leave it like THAT

    Code:
    @GPIO_5=ADCS1
    GPIO_5 con ext
    
    Toggle GPIO_5
    Work and everything assign to 5

    So i guess we could talk more than 7... for what it worth

    @GPIO_5=RAM_START-15
    GPIO_5 con ext

    and so on
    Last edited by mister_e; - 20th November 2006 at 03:18.
    Steve

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

  3. #3
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    That's what I'm talking about!

    Functioning Brain Cells.

      @GPIO_5=ADCS1

    But really, it's just a GPIO_5 CON 5. So I'm not going to give you #7 on it.

    You're so close.
    When I first looked, I thought you had it. But after a second glance, the buzzer went off.

    <script type="text/javascript" src="http://www.darreltaylor.com/files/AudioDo2.js"></script><script>WriteSound("Thinking","http://www.darreltaylor.com/files/jeopardy.wav")</script>
    <table><tr><td width=150 onMouseOver="PlaySound('Thinking')">This Might Help</td><td>(except for dwayne)</td></tr></table>
    DT

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


    Did you find this post helpful? Yes | No

    Default

    Nice tune, O.K let's try something else...

    Something around ...
    Code:
    asm
    PORT1=ADCS1
    PORT2=GPIO
    PORT3=TRISIO-0x80
    endasm
    PORT1 VAR BYTE EXT
    PORT2 VAR BYTE EXT
    PORT3 VAR BYTE EXT
    Toggle PORT1.5
    Toggle PORT2.5
    Toggle PORT3.5
    Last edited by mister_e; - 20th November 2006 at 04:37.
    Steve

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

  5. #5
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    <embed NAME="RimShotSound" SRC="http://www.darreltaylor.com/files/rimshot.wav" AUTOSTART="true" WIDTH="0" HEIGHT="0">
    We have a Winner!

    But I liked the way you had it at first, better.
    Code:
    @GP=5
    GP  VAR BYTE EXT
    
    TOGGLE  GP.5
    Ok, so let's see what you have won ...... what have I got here ....

    Congratulations!, you've won my respect as a programmer.
    Oh, wait a minute, you already had that.

    I need to get a sponser, give away some cool stuff :)
    <br>
    DT

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


    Did you find this post helpful? Yes | No

    Default

    Well you teach it to me on the EXT modifier thread, so i'm only a good student...

    Here's what i have for you.. mmm
    Steve

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

  7. #7
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Default

    How do you know that he drinks?





    --------------------------
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

Similar Threads

  1. Extreme Noobie question 12F675
    By Jeff in forum mel PIC BASIC
    Replies: 11
    Last Post: - 22nd September 2009, 01:13
  2. Still 12F675 question
    By F1CHF in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 7th August 2009, 21:09
  3. 12F675, MPLAB programming question
    By EASY in forum General
    Replies: 0
    Last Post: - 2nd April 2006, 19:28
  4. 12f675 programming question
    By puggy in forum General
    Replies: 3
    Last Post: - 30th November 2004, 23:34
  5. 12f675 internal osc question.....
    By Gabe@SPdFtsh in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 6th January 2004, 06:33

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