Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 3 1 2 3

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    2,819

    something similar to DEC command

    hello all

    as i understand right, dec (on hserout) and # (on serout) writes a number sign by sign out.

    now, i am searching for something similar: a value (byte or word) that i should be able to...
  2. button input: what is necessary for a proofed behaviour

    hello all

    a bit a simple question at a first glance, but i have had some problems earlier with this....

    if i have a button some centimeters or a few meters away from a pic, what would be the...
  3. Replies
    5
    Views
    4,551

    build in schmitt trigger

    hello all

    the 16f876a for example offers at portc some schmitt trigger inputs instead ttl.
    how does they work exactly in consideration to debounce a button? i didn't find an information about the...
  4. Replies
    3
    Views
    2,788

    hi steve thans a lot for your answers. the...

    hi steve

    thans a lot for your answers.

    the circuit is at 5volt so no problems with brown out.

    a question to the oscillator selection : i burned the 4mhz bootloader with HS set as config...
  5. Replies
    3
    Views
    2,788

    bootloader questions

    hello all

    i use a bootloader in a project out in the field.
    it is a read in from some buttons and send the value out over serial command. now, sometimes it sends obviously always the same code...
  6. Replies
    4
    Views
    4,429

    i had also some problems a year before with dtmf...

    i had also some problems a year before with dtmf generation...

    at last, i used a 18f242 instead a 16f876 because it is possible to use a 10 mhz oscillator and on pll inside it is 40 mhz.

    about...
  7. Replies
    12
    Views
    7,018

    i would go a step back first : which pic did...

    i would go a step back first :

    which pic did you use? how is your setup of ANSEL, CMCON? OSC?

    best is you post the whole code
  8. Replies
    10
    Views
    9,209

    i've done a job with this ones, prefered the...

    i've done a job with this ones, prefered the sbc68ec with bootloader :

    http://www.modtronix.com/index.php?cPath=1_36

    they work now in this release very fine. be sure that you have a switch...
  9. Thread: servo control

    by mischl
    Replies
    1
    Views
    2,832

    hi take a look at this :...

    hi

    take a look at this : http://www.melabs.com/resources/samples/x2/pbp/servox2.bas

    this will help i hope
  10. Replies
    18
    Views
    10,346

    the pot values goes from 127 to 0 instead 0 to...

    the pot values goes from 127 to 0 instead 0 to 127?

    then change the plus and minus on your pot, that changes the direction
  11. Replies
    18
    Views
    10,346

    divide adval by 2 adval = adval / 2 adval =...

    divide adval by 2

    adval = adval / 2
    adval = adval >> 2
  12. Thread: helooo........

    by mischl
    Replies
    7
    Views
    3,817

    you are welcome

    take this elements in your code



    number var word ' a word sized variable with 2 bytes


    number = 350 ' give them the max value for testing
  13. Thread: helooo........

    by mischl
    Replies
    7
    Views
    3,817

    use a word instead a byte... word = 16 bit = 2...

    use a word instead a byte...

    word = 16 bit = 2 byte
  14. Thread: helooo........

    by mischl
    Replies
    7
    Views
    3,817

    becuase i'm not sure without testing, try this :...

    becuase i'm not sure without testing, try this :

    SerOut PORTA.3,t2400,[" the first number is : ",b0,13,11]
    SerOut PORTA.3,t2400,[" the second number is : ",b1,13,11]

    if this works, you know...
  15. Replies
    18
    Views
    10,346

    please post your code si we can take a look ...

    please post your code si we can take a look

    you can define the osc as usual, don't write any : @ DEVICE pic12F675, INTRC_OSC ' activates internal osc

    how looks your serout2 command?
  16. Replies
    18
    Views
    10,346

    uuups. sorry, you are right, there is no uart at...

    uuups. sorry, you are right, there is no uart at the 12f675 ;-)

    look at the manual under SEROUT2 for calculating baud rate. 31250 baud needs a 20 mhz crystal.

    for analog in : some sample...
  17. Replies
    18
    Views
    10,346

    hi cool project! i did the same with an...

    hi

    cool project!

    i did the same with an 16f876a once, here the most important settings :




    DEFINE OSC 20 ' oscillator speed
  18. Replies
    8
    Views
    5,905

    sorry, don't unterstand...

    what means this? external pull ups and then ... power supply something...?

    sorry, my english is not so fine ;-)
  19. Replies
    8
    Views
    5,905

    hello steve and sougata thanks for your hints....

    hello steve and sougata

    thanks for your hints.

    i plan to change this three inputs (b5,b6,b7) to change to a2,a3,a5 and renew to code from the interrupt handler to a subroutine.
    on the build in...
  20. Replies
    8
    Views
    5,905

    new aspect

    hello all

    i got a new problem around portb4:7. because i have a device out with this inputs interruptable where allways some problems occur (pic seems like frozen, must be repowered again) i start...
  21. Replies
    1
    Views
    2,497

    code needs much longer then expected

    hi all

    on a 12f675 with internal osc speed 4mhz i have the following main routine. this toggles two digital outputs asyncronus. i thinked (dangerous?) that one cycle of this while execution needs...
  22. Thread: Reset problem

    by mischl
    Replies
    22
    Views
    12,306

    you are really sure that is a reset and not a...

    you are really sure that is a reset and not a undebounced input which executes an unexpected part of the code?
    how is the BROWN-OUT RESET configure?

    good luck
  23. Replies
    7
    Views
    4,801

    works much better

    hello darrel

    thanks for your hint. sorry my late reply - had some days off :-)

    with the add command it works much more better, good tip. thanks!

    i searched a while for the asm interrupt and...
  24. Replies
    7
    Views
    4,801

    dear darrel thanks a lot for your message....

    dear darrel

    thanks a lot for your message. alone the commitment "it must work" helps me a lot. i tested now a bit and it works fine! unfortunalety i don't know why... it seems that i had somewhere...
  25. Replies
    7
    Views
    4,801

    calibration of a timer

    hello all

    to the entry above
    no one an idea why timer1 runs without a start command? did i done something obviously incorrect? thanks for a feedback

    the application is like a stop watch. i...
Results 1 to 25 of 72
Page 1 of 3 1 2 3