Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Thread: Pauseus

    by xobx
    Replies
    9
    Views
    4,714

    Pauseus

    Is, 1000 PAUSEUS = 1 PAUSE?
  2. Thread: ICSP wireless?

    by xobx
    Replies
    4
    Views
    3,191

    ICSP wireless?

    Can you make ICSP wireless?
    If, how?
  3. Replies
    7
    Views
    6,652

    It makes a heart :P If you look a the "DATA...

    It makes a heart :P

    If you look a the "DATA lines" you can see a lying heart..
  4. Replies
    7
    Views
    6,652

    This is NOT my code. DEFINE OSC 20 p_01...

    This is NOT my code.



    DEFINE OSC 20

    p_01 var PORTD.4
    p_02 var PORTD.5
    p_03 var PORTD.6
    p_04 var PORTD.7
  5. Thread: Pwm

    by xobx
    Replies
    6
    Views
    4,276

    Is there anyway you can PWM to pins at the same...

    Is there anyway you can PWM to pins at the same time?
  6. Thread: Pwm

    by xobx
    Replies
    6
    Views
    4,276

    Pwm

    How do I PWM two pins at the same time with this code?



    For duty = 0 to 255
    PWM PORTB.0,Duty,Cycle
    HIGH PORTB.0
    Next
  7. Replies
    9
    Views
    4,205

    Ok but I doesnt understand this line :/ button...

    Ok but I doesnt understand this line :/

    button portb.0,1,255,0,but1,0,loop
  8. Replies
    9
    Views
    4,205

    Both includes a LCD wich make it harder to...

    Both includes a LCD wich make it harder to understand the code :/
  9. Replies
    9
    Views
    4,205

    Timer - pause? ..?

    How do you make a code work like this:

    When I push a button a timer starts and when I push it again it stops and make that time into a variabel. So I can use that time in my program something like...
  10. Replies
    7
    Views
    5,698

    Ok, so this will turn off the Comparators? ...

    Ok, so this will turn off the Comparators?


    CMxCON0
    CM2CON1

    And I have no idea how Table 2.1 works :/
  11. Replies
    7
    Views
    5,698

    Thats one way but I want to know how to do it the...

    Thats one way but I want to know how to do it the other way.. (in the code)
  12. Replies
    7
    Views
    5,698

    PIC16F887, turn off..

    How do I turn off all A/D,timers and all the stuff on PIC16F887?

    I know that ANSELH=0 turns of the A/D on PORTB but thers tons of extra on the other ports that i dont want..
  13. Replies
    8
    Views
    6,067

    Thanks, now does this code work too! loop:...

    Thanks, now does this code work too!



    loop:

    HIGH PORTB.0
    HIGH PORTB.1
    HIGH PORTB.2
    PAUSE 250
  14. Replies
    8
    Views
    6,067

    That didnt work, quess I haft to stick with PORTB...

    That didnt work, quess I haft to stick with PORTB = %...

    ..but whats the difference between 'PAUSE' and 'PAUSEUS'?
  15. Replies
    8
    Views
    6,067

    PIC16F887 cant handle HIGH and LOW?

    If I make my code like this my three leds blinks..


    loop:

    PORTB = %00000111
    pause 250
    PORTB = %00000000
    pause 250
  16. Replies
    4
    Views
    5,362

    MPSAM..? ...

    MPSAM..?


    http://img205.imageshack.us/img205/5717/sdfdfsdfzs8.jpg

    ???

    .
  17. Replies
    4
    Views
    5,362

    How to use Internal Oscillator?

    This is my config now


    @ device pic16F648A, hs_osc, wdt_off, mclr_on, lvp_off, protect_off


    Is it only to change "hs_osc" to "xt_osc" to use the Internal Oscillator?
    Or how should I do?
  18. Replies
    40
    Views
    18,946

    I just want some example code to understand how...

    I just want some example code to understand how the timer works, but i quess i haft to figure it out myself..
  19. Replies
    40
    Views
    18,946

    Make me some code..

    This is my current circuit

    http://img114.imageshack.us/img114/5695/dfgdfgfgfmg0.jpg

    Can you make a code like this (in PICBASIC PRO):

    When you click the button a timer starts and when you...
  20. Replies
    4
    Views
    4,006

    Help with code, settings

    I cant get this code to work with my PIC16F887 :/


    @ device pic16F887, hs_osc, wdt_off, mclr_on, lvp_off, protect_off
    DEFINE OSC 20

    loop:

    high portb.2
    pause 500
  21. Thread: Portb = % ???

    by xobx
    Replies
    2
    Views
    2,530

    Portb = % ???

    Shouldnt this code make all leds on PORTB blink?
    Now its only one led thats blink (PORTB.1)



    @ device pic16F648A, hs_osc, wdt_off, mclr_on, lvp_off, protect_off
    DEFINE OSC 20


    loop:
  22. Thread: Translate code..

    by xobx
    Replies
    7
    Views
    4,702

    The only thing im looking on that tutorial is the...

    The only thing im looking on that tutorial is the soldering points for the buttons..

    And the code work most of the time because the weapon you use must be full and you must have a secondary...
  23. Thread: Translate code..

    by xobx
    Replies
    7
    Views
    4,702

    Im going to do this ...

    Im going to do this

    http://www.instructables.com/id/EBQXQEC6XNEY95VH90/

    And the creator wont share his code, and I found that code in the comments..


    D'oh! This was under the code..

    ~~
  24. Thread: Translate code..

    by xobx
    Replies
    7
    Views
    4,702

    I copied from another site so I dont konw :P ...

    I copied from another site so I dont konw :P

    Is 'INPUT' the same as 'HIGH'?
  25. Thread: Translate code..

    by xobx
    Replies
    7
    Views
    4,702

    Translate code..

    Could someone pls translate this code to Basic?



    ' {$STAMP BS2}
    ' {$PBASIC 2.5}


    R PIN 15
    X PIN 14
Results 1 to 25 of 48
Page 1 of 2 1 2