Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    4
    Views
    76

    Re: Digital touch Screen Combination lock

    if you have a simple strategy to solve a task the program comes easily i find

    my strategy for this would be :-
    monitor the serial input for 0x07 chr [the start of a transmission pkt]
    when you...
  2. Replies
    4
    Views
    76

    Re: Digital touch Screen Combination lock

    not to mention the port pins are still analog ,difficult to see in all the noise

    missed ALLDIGITAL in there , my case rests
  3. Replies
    13
    Views
    891

    Re: Weirdness with 16F1705's eeprom and DAC

    found it

    config use _ZCDDIS_ON



    #CONFIG ; 16F1705 __config _CONFIG1, _FOSC_INTOSC & _WDTE_ON & _PWRTE_ON & _MCLRE_ON & _CP_OFF & _BOREN_ON & _CLKOUTEN_OFF
    __config _CONFIG2,...
  4. Replies
    13
    Views
    891

    Re: Weirdness with 16F1705's eeprom and DAC

    theres more to than i first thought.
    i tried the microchip example in mplabx , guess what both pins are exactly equal and produce the exact predicted output by the datasheet,
    we are missing...
  5. Replies
    13
    Views
    891

    Re: Weirdness with 16F1705's eeprom and DAC

    new code without all the noisy comment

    with both outputs driven , from fvr buff2 @2.048v [1.024v got weird results]
    the unmentioned feature in data sheet is that out2 is complement of out1 and...
  6. Replies
    14
    Views
    797

    Re: 8-bit Bootloader from Microchip

    every chip type needs its own loader asm file ,every different config of that chip may need it own version, pll use brings another set of issues
    newer chip types aren't supported at all . the...
  7. Replies
    14
    Views
    797

    Re: 8-bit Bootloader from Microchip

    if you own mcs plus then its in this folder / if not you won't have the build files

    C:\Program Files (x86)\Mecanique\MCSPX\MCLoader\umc\documentation

    its an adventure not worth the trip in my...
  8. Replies
    13
    Views
    891

    Re: Weirdness with 16F1705's eeprom and DAC

    not sure what your expecting from the output , it works for men on out 2
    i used this code / with fvr and vdd for vsource+ both work
    the pickit3 i used did not seem to load the out2 pin so i...
  9. Replies
    5
    Views
    425

    Re: Multiple problems with PIC16LF15313

    i'd be astonished if you could find a pbp supported chip that doesn't default to analog
  10. Replies
    5
    Views
    425

    Re: Multiple problems with PIC16LF15313

    trying to use a chips pins as digital i/o when they are still configured as analogue is never a recipe for success
  11. Replies
    6
    Views
    949

    Re: USBSERVICE And SERIN2 Odd Behavior

    since only code snippets posted and
    no hardware description pic/usb descriptor and
    no explanation why eusart not employed and
    no description of failure point or why "working" code not suitable
    ...
  12. Replies
    13
    Views
    891

    Re: Weirdness with 16F1705's eeprom and DAC

    bill you might get some use from this re hef as eeprom

    http://support.melabs.com/forum/picbasic-pro-compiler-3-0-and-later/asm-assembly-language-in-picbasic-pro/6753-accessing-hef
  13. Replies
    6
    Views
    949

    Re: USBSERVICE And SERIN2 Odd Behavior

    if you are using USBSERVICE in a interrupt routine then its unnecessary to make additional calls to it , its probably not re-entrant code either.
    making calls to it both inside and outside the isr...
  14. Replies
    6
    Views
    949

    Re: USBSERVICE And SERIN2 Odd Behavior

    its not so much as to service it every 10ms or less but to respond to polls before the host times you out. i use the isr option for usb service


    ASM
    INT_LIST macro ; IntSource, Label,...
  15. Replies
    2
    Views
    488

    Re: Online DAQ suggestions

    an esp8266 server can be as simple as this, it reads the analogue pin every 20 sec once connected to a wifi net.
    it responds with the last read value to a get request from anywhere. the requester...
  16. Thread: Serial Sharing

    by richard
    Replies
    5
    Views
    491

    Re: Serial Sharing

    a bit further down in the mode description is says
  17. Replies
    14
    Views
    797

    Re: 8-bit Bootloader from Microchip

    you do nothing different other than put #define loader 1 [or whatever the syntax is ]

    only if you want to use and keep the b-loader , if you use another programmer the b-loader will be erased
    ...
  18. Replies
    3
    Views
    343

    Re: Neopixel (WS2812B) Question/s

    the reset is implicit , as soon as input data has ceased for 50us the chips reset and lightup with the currently loaded data
    they remain like that untill the data is changed and another reset...
  19. Replies
    14
    Views
    797

    Re: 8-bit Bootloader from Microchip

    yes
    not really , your hex code file data is sent by the bootloader program in a serial format to your pic using its hardware UART


    yes

    see q2 , it does not make any code


    the pic receiver...
  20. Replies
    19
    Views
    1,298

    Re: Unable to execute MPASMX

    you don't want to leave it too late. i would not be surprised to see things heading towards c++ eventually, thats a far bigger hurdle to jump than basic to C. the way microchip are leading us with...
  21. Replies
    27
    Views
    1,414

    Re: How to prevent variable going below zero?

    the mind boggles
  22. Re: Help with adcin and serout, using a 16F688 Chip

    you need to read the chapter on adcin, the input channel is not a pin number or pin alias its the analogue channel desired
  23. Replies
    27
    Views
    1,414

    Re: How to prevent variable going below zero?

    its a quick easy test to check, it works on all chips that i tried just make sure the compiler dosn't compress the subtract into a decrement
    i var can be byte or word



    j=8
    i=6
    while j ...
  24. Replies
    27
    Views
    1,414

    Re: How to prevent variable going below zero?

    anyone familiar with assembly programming will be well aware of the status reg and its use. what surprised me is that
    the value of the status reg was/is preserved even after the completion of the...
  25. Replies
    27
    Views
    1,414

    Re: How to prevent variable going below zero?

    With a few proviso's mikes way beats it hands down




    IF Z<100 THEN I=I-5
    asm
    BTFSS STATUS,C
    CLRF _I
    ENDASM
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4