Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: chien_fu; Keyword(s):

Search: Search took 0.00 seconds.

  1. Replies
    18
    Views
    11,960

    Cool, thanks.

    Cool, thanks.
  2. Replies
    18
    Views
    11,960

    Why is it that when I enter: GPIO = %11111111...

    Why is it that when I enter:

    GPIO = %11111111

    Picbasic says "Undefined variable"?
  3. Replies
    18
    Views
    11,960

    So I tried driving it with two pins but something...

    So I tried driving it with two pins but something else is screwy now....

    This is what I have:


    OUTPUT Pin1
    output Pin2

    Startup:
  4. Replies
    18
    Views
    11,960

    Another dumb ass problem

    I really hate this stuff.... it makes me want to stab myself in the eyeball with a fork.

    I'm measuring 3v from Pin1 (GP1) on my 12F683.
    I'm using a 3v coin cell. It measures 3v.
    I connect a...
  5. Replies
    18
    Views
    11,960

    oy... Thanks guys, you rock.. How I wish I...

    oy...
    Thanks guys, you rock..
    How I wish I could be using my Arduino for this project..
  6. Replies
    18
    Views
    11,960

    I cannot express enough gratitude. It works! ...

    I cannot express enough gratitude. It works! Thank you so much kind sir. Now where might one learn a bit of information like that? That seems fairly basic, but I don't recall coming across that...
  7. Replies
    18
    Views
    11,960

    I could use some help here... I am completely at...

    I could use some help here... I am completely at a loss. I can't get any input to work at all, am I going crazy?
  8. Replies
    18
    Views
    11,960

    I'm using a 12F683, GP4 (which I believe is the...

    I'm using a 12F683, GP4 (which I believe is the same as PORTB.4?) is Pin3.
  9. Replies
    18
    Views
    11,960

    Stupid simple question.....

    I'm trying to make a button work...
    here is my test code:


    input Pin4

    loop:

    if Pin4 = 1 then cycle
  10. Replies
    0
    Views
    2,235

    Code programming error at 0000

    This seems like a common error but I can't seem to get around it. I have bypassed the 25pin cable, checked the voltages of the two regulators, verified input voltage,tried ZIF and no-ZIF, removed...
  11. Replies
    9
    Views
    6,200

    That's what I've got going now... Randomizer:...

    That's what I've got going now...

    Randomizer:
    RANDOM rand
    high 3 : pause 10 'Blinks an LED once per random number generated
    low 3 : pause 10
    IF rand > 100 THEN Randomizer
    IF rand < 1...
  12. Replies
    9
    Views
    6,200

    Reign in the randomness

    Next question...
    I'm trying to generate a random number between X and Y...
    The only command I see is:

    Random Var

    And the manual says it generates numbers up to 65,000

    Is there a way to...
  13. Replies
    9
    Views
    6,200

    Hot damn! That was quick thinkin! You just blew...

    Hot damn! That was quick thinkin! You just blew my mind...
    hehe, thanks dude!
    Is that common practice? Or would interrupts be used for something like that ever?
  14. Replies
    9
    Views
    6,200

    Newbie needs help

    So, I'm very new to this, bare with me... I have a loop statement going and going and going.. as follows: (just a 10sec interval flashing LED)

    loop:
    High 0
    Pause 10000

    ...
  15. huh.. good to know about the oscillator.. I'll...

    huh.. good to know about the oscillator.. I'll have to look into that.
    I am not using a zif socket, but it is not in-circuit either, I am just using the 18-pin socket on the EPIC programmer. I...
  16. BLINK.BAS - Can't make it work!!!! Please help!!

    I just got all set up with my programmer (it's a couple years old, but still seems to be functioning fine, it's the EPIC pro.) And I just bought the PICBASIC compiler. I loaded the sample program...
Results 1 to 16 of 16