Search Results - MEL PICBASIC Forum

Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.04 seconds.

  1. Re: need a low frequency pulse out while still performing serial comms

    I understand, but the buffer is cleared once it is read; so you are actually 2 bytes in shadow of the actual data that is coming two bytes of time ahead of you.
    Thus, every time you are reading the...
  2. Re: need a low frequency pulse out while still performing serial comms

    I see the point there.
    As much as I have experienced, even if Hserin is in the main loop and another interrupt is being generated during Hserin execution, it does not effect anything.
    That is I...
  3. Re: need a low frequency pulse out while still performing serial comms

    George,

    If you use DT's interrupt, you can have all these solved automatically.

    Have RX_INT first
    Have TMR1_INT second.

    And sit back.
  4. Re: PIC 18F2431 PORTB.6 and 7 - strange behavior on restart after a few hours "rest"

    Microchip has a guide.

    http://microchipdeveloper.com/8bit:guide

    8900

    R1 ≤ 10 kΩ is recommended. A suggested starting value is 10 kΩ. Ensure that the MCLR pin VIH and VIL specifications are...
  5. Thread: 18F66K80 adc

    by sayzer
    Replies
    9
    Views
    229

    Re: 18F66K80 adc

    ...or forget about ADCIN, and use ADC registers directly.
    No need defines.

    Use the magic of your fingers.
  6. Thread: 18F66K80 adc

    by sayzer
    Replies
    9
    Views
    229

    Re: 18F66K80 adc

    1. If you are using ADCIN, then as much as I know, default "default" defines will be referred even if you do not define anything. Needs confirmation.
    2. Have you heard of Mister E?
    2a. For 64Mhz,...
  7. Re: PIC 18F2431 PORTB.6 and 7 - strange behavior on restart after a few hours "rest"

    Similar issue happened to me.

    Eventhough MCLR is OFF, it needs to be sometimes tied to Vdd with a 4K7 - 10K, and to GND with a 100nf cap.

    This had solved my issue after weeks of work.
    When I...
  8. Replies
    43
    Views
    1,117

    Re: HTML and PIC communication

    Google for ESP8266 wifi module.
    There are many sample codes for posting button command to PIC with values from textbox.

    Then PIC responds back to the visitor.
  9. Replies
    8
    Views
    362

    Re: isd4003 arll that matterr

    Not sure about 1K and 220uf there;
    Also, instead of 1M, 100K may be better. Or have a 1M pot to see where it performs better.
  10. Replies
    8
    Views
    362

    Re: isd4003 arll that matterr

    A circuit schematic would be useful here.
  11. Thread: Not or Invert

    by sayzer
    Replies
    11
    Views
    782

    Re: Not or Invert

    IF Darrel were here, he could/would come up with something magical to make it less, I think. :smile:
  12. Thread: Not or Invert

    by sayzer
    Replies
    11
    Views
    782

    Re: Not or Invert

    Or decrement it, the same :D

    or the grandpa's way :

    Variable = NOT DigitalInputPin
  13. Thread: Not or Invert

    by sayzer
    Replies
    11
    Views
    782

    Re: Not or Invert

    Andy,

    Are you looking for even an easier way?
  14. Thread: Not or Invert

    by sayzer
    Replies
    11
    Views
    782

    Re: Not or Invert

    Variable = ~DigitalInputPin
  15. Replies
    8
    Views
    478

    Re: Hserout questions

    By Xtal, do you mean that an external 4Mhz crystal with two caps like 22pf?
  16. Replies
    3
    Views
    400

    Re: PORTA.5 not responding on 16F18346??

    PORTA.5 is "CLKIN OSC1"pin, depending on config and osc settings on OSCCON1, OSCCON2, and OSCCON3.

    There seems to be no OSCCONx in your code.

    You need to make sure that the osc stays internal.
  17. Replies
    5
    Views
    553

    Re: ADC input signal filter selection

    In addition to and similar to Dave's reply, there may be a Vref issue.
    Since the circuit is in a truck, I guess that the power supply may not be filtering the sparks and thus if the Vref is Vdd,...
  18. Re: Need to drive 40 pins on variable change, is there a way to do it in elegant way?

    That is already something people do but connecting DS18B20 to Clk or IO should be better.
  19. Re: Need to drive 40 pins on variable change, is there a way to do it in elegant way?

    I posted a reply for this in your other post:
    http://www.picbasic.co.uk/forum/showthread.php?t=24078
  20. Replies
    11
    Views
    716

    Re: Converting dec to hex, no built-in support?

    http://www.picbasic.co.uk/forum/showthread.php?t=423

    You will find everything you would need for DS1302 there.
  21. Re: Need to drive 40 pins on variable change, is there a way to do it in elegant way?

    Where is the config?
    In addition to OSCCON for intosc setting, Config fuse also needs to be configured for internal OSC.
  22. Re: Having troubles with READ / WRITE confirming it works...

    Your "PAUSE 50" may be breaking your PWM.
    Just have a test routine like:


    Main:
    PWM GPIO.0,125,200
    Goto Main

    nothing else in between...
  23. Replies
    4
    Views
    520

    Re: A strange problem

    This one may be a smart bot following the replies in a sequence.
  24. Re: Need to drive 40 pins on variable change, is there a way to do it in elegant way?

    It is just an example; I just wanted to show how the idea works.
  25. Re: Need to drive 40 pins on variable change, is there a way to do it in elegant way?

    ' These epins are just example pins.
    ' Pin number can be in any order; does not have to be in a sequence.
    A0 var PORTA.0
    A1 var PORTB.0
    A2 var PORTC.0
    A3 var PORTD.0
    A4 var PORTE.0
    A5 var...
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4