Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.05 seconds.

  1. Replies
    13
    Views
    795

    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,...
  2. Replies
    13
    Views
    795

    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...
  3. Replies
    13
    Views
    795

    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...
  4. Replies
    14
    Views
    723

    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...
  5. Replies
    14
    Views
    723

    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...
  6. Replies
    13
    Views
    795

    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...
  7. Replies
    5
    Views
    392

    Re: Multiple problems with PIC16LF15313

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

    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
  9. Replies
    6
    Views
    913

    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
    ...
  10. Replies
    13
    Views
    795

    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
  11. Replies
    6
    Views
    913

    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...
  12. Replies
    6
    Views
    913

    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,...
  13. Replies
    2
    Views
    457

    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...
  14. Thread: Serial Sharing

    by richard
    Replies
    5
    Views
    481

    Re: Serial Sharing

    a bit further down in the mode description is says
  15. Replies
    14
    Views
    723

    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
    ...
  16. Replies
    3
    Views
    340

    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...
  17. Replies
    14
    Views
    723

    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...
  18. Replies
    19
    Views
    1,257

    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...
  19. Replies
    27
    Views
    1,361

    Re: How to prevent variable going below zero?

    the mind boggles
  20. 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
  21. Replies
    27
    Views
    1,361

    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 ...
  22. Replies
    27
    Views
    1,361

    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...
  23. Replies
    27
    Views
    1,361

    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
  24. Re: Testing a GSM module via Mecanique's Serial Communicator - "terminator" issue?

    "AT+CMGS="+4179xxxxxxx",#10,"Hello Roger",#26


    or

    "AT+CMGS="+4179xxxxxxx",$A,"Hello Roger",$1A

    8888
  25. Replies
    27
    Views
    1,361

    Re: How to prevent variable going below zero?

    a look at the lst file yields the reasons .
    the status reg is not useful when you add or subtract a const 1
    if you use a number greater than 1 or another var then the code does a proper...
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4