odd 2550 behaviour


Results 1 to 11 of 11

Threaded View

  1. #1

    Default odd 2550 behaviour

    I mistyped this in a program ( I quickly wanted to blink an LED on portA)

    high porta.1
    pause 500
    high porta.0
    pause 500
    high porta.1
    pause 500
    high porta.0
    pause 500
    high porta.1
    pause 500
    high porta.0
    pause 500

    See the problem, they all should be portA.0, so in theory the LED on PortA.1 should light, slight pause, then the LED on PortA.0 should light.

    Ha, no it doesnt, well OK it does BUT the first led (on PortA.1) goes out, and instead of 2 leds being on, I get alternating leds ????

    Ie

    01
    10
    01
    10

    I expected

    01
    11


    (edit)

    'alldigital' fixed it so I must have one of those damn 'con' keywords wrong.....
    Last edited by f_lez; - 3rd November 2006 at 12:32.

Similar Threads

  1. Strange Behaviour - Simple code+DT_INT+16F676
    By financecatalyst in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 17th February 2010, 18:53
  2. Strange Serout Behaviour
    By bluesmoke in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 12th August 2009, 04:12
  3. Is Number Odd?
    By T.Jackson in forum Off Topic
    Replies: 29
    Last Post: - 11th June 2008, 17:53
  4. Strange behaviour from PIC16F877 on TMR0
    By mikebar in forum mel PIC BASIC Pro
    Replies: 18
    Last Post: - 19th August 2006, 01:31
  5. odd? network problem
    By d1camero in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 30th April 2004, 18: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