Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.02 seconds; generated 38 minute(s) ago.

  1. Re: Serin Not Recognizing Qualifier From Another PIC

    you misunderstand how the qualifier works

    this can not work as you set the qualifier to 0x0d as per my example , ProgIDRx will always be 0x0d
    untill you change it , serin will never change it
    ...
  2. Re: Serin Not Recognizing Qualifier From Another PIC

    works perfectly for me if you don't try to use qualifier before you actually set it to a meaningful value as rocket troy indicated


    #CONFIG; set CONFIG1 for internal oscillator, watchdog on,...
  3. Re: How to measure how long I pressed a button ?

    i know nothing about ancient history

    and the number is word sized anyway
  4. Re: How to measure how long I pressed a button ?

    a bit fancier




    #CONFIGcfg = _INTRC_OSC_NOCLKOUT
    cfg&= _WDT_ON
    cfg&= _PWRTE_OFF
    cfg&= _MCLRE_ON
    cfg&= _BODEN_ON
  5. Re: How to measure how long I pressed a button ?

    the chances of AI finding well written pbp code to plagiarize from are slim at best.
    afaics AI can only write code if it can plagiarize it from somewhere, the code only works if the stolen code...
  6. Re: How to measure how long I pressed a button ?

    i possibly could be enough but you never reevaluate it until the whole timing mess has long completed
  7. Re: How to measure how long I pressed a button ?

    you have set timer1 to overflow every 16.38 mS , you never count the overflows
    also adding 65535 to a word var seems very odd do you actually intend to subtract 1


    i can't see how any of this...
  8. Re: How to measure how long I pressed a button ?

    No it just sets it to use external clock

    9651
  9. Re: How to measure how long I pressed a button ?

    in order to measure a buttons hold time you need to either note time button was pressed then the time button was released
    the duration is release time - when pressed time, or when button is...
  10. Replies
    10
    Views
    371

    Re: Creality, worst customer support

    just tried the "fussy" outer shell option on my ender5+, i like it and it hardly slows a print at all . i never knew it was there until now
    thanks for that, its a nice way to disguise the layers. i...
  11. Replies
    10
    Views
    371

    Re: Creality, worst customer support

    the motherboards are just arduino mega2650 dressed up a bit with a nice cnc coat on, you can recover them using another arduino as a icsp programmer.
    i used my old mboard as a grbl core xy laser...
  12. Replies
    10
    Views
    371

    Re: Creality, worst customer support

    my ender5 plus did that a couple of times. i think i have it sorted.
    make sure the thermistor is secure in its hole, don't over tighten the holding screw and cut through the insulation and do fill...
  13. Replies
    5
    Views
    378

    Re: Timer 0 not accurate

    that won't help at all, you need to ensure that the config is correct and that osccon reg is set appropriately
    define OSC just tells compiler what freq you think you are running at, it does...
  14. Replies
    152
    Views
    23,501

    Re: New project - MSFS C++ USB interface

    I just tape the back side and fill the hole [if you use the thick stuff you can get a nice dome if your quick], shine led for a few seconds and ..
    volar instant clear led bezel.

    easiest if light...
  15. Replies
    152
    Views
    23,501

    Re: New project - MSFS C++ USB interface

    clear UV set resin is great for making small transparent windows in housings, laser cut acrylic sheet can make light pipes [best used edge on], you lose a bit of brightness though
  16. Replies
    5
    Views
    378

    Re: Timer 0 not accurate

    how have you set FOSC for the pic.
    there is no OSCCON REGISTER setting in your code , the CONFIG settings are not shown, unless you have a 4mz Xtal setup
    how sure are you that FOSC is the 4mhz you...
  17. Re: I2C Communication between PIC18F4550 and AS5600

    the data sheet address $36 is a 7 bit address pbp uses an 8 bit address scheme




    You may well have to "configure" the device but for an i2c read transaction that is an unnecessary step

    ...
  18. Re: I2C Communication between PIC18F4550 and AS5600

    the data sheet address is a 7 bit address pbp uses 8 bit address
    what are ic2writes for ?
    they seem to be of no value that i can see
    you defined sda and scl why not use them ?

    more like
    ...
  19. Replies
    152
    Views
    23,501

    Re: New project - MSFS C++ USB interface

    i find super glue won't last on "common garden variety" pla. there are quite a few pla variants around now, silky smooth , pla+ , pla super strong
    that i have not tried gluing up. glue may not...
  20. Replies
    152
    Views
    23,501

    Re: New project - MSFS C++ USB interface

    are you printing in pla ?
    if so what glue are you using , the only glue i find that works well is that nasty solvent based scigrip 16 [dimethylene chloride ?]
    once you crack the seal it quickly...
  21. Replies
    95
    Views
    36,227

    Re: Graphical Displays with PBP3

    a portrait version

    9645



    '*******************************************************************
    '* Name : SSD1306p.pbpmod *
    '* Author :...
  22. Replies
    95
    Views
    36,227

    Re: Graphical Displays with PBP3

    in theory portrait mode should be easier and faster than what i have now, the screen width 64 height 128
    and the buffer sent to the screen in horiz fill mode nice and sequentially [ might need bit...
  23. Re: Discovering PIC 16F18446 - TOGGLE "ASM WARNING - Invalid RAM location"

    this works perfectly for me, i doubt you implemented it exactly as posted
    i notice you don't set the pins used to digital mode

    another correct way


    ' PIC 16F18426
    #CONFIG
    __config...
  24. Replies
    95
    Views
    36,227

    Re: Graphical Displays with PBP3

    bmp placement fixed , note that horiz placement is byte aligned ie for a 128 bit wide display there are 16 bytes therefore 16 positions max
  25. Replies
    95
    Views
    36,227

    Re: Graphical Displays with PBP3

    i have had a look at how those programs [lcdassist and glcd tool] manage the remainder bits when a bitmap is not an 8bit multiple in width
    and it defeats me , i cannot get how the "stray" bits of...
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4