Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.05 seconds.

  1. Replies
    8
    Views
    392

    Re: GOTO vs RETURN after a GOSUB

    This should work.



    MainLoop:

    'DO SOME STUFF HERE.....

    FOR J = 0 TO 7
    GOTO SearchForClockSignal
  2. Replies
    21
    Views
    1,234

    Re: PWM and audio noise

    Let this be from me:

    Harmonics are generated at the latest ground pin (or say final gnd connection of power supply; the return point). Usually, this is minimized by collecting all gnd points...
  3. Replies
    15
    Views
    1,016

    Re: Unable to Open Include File

    Here is my point:

    Check file attributes;

    Right click the files that work; see how their attributes are applied; and apply the same attributes to other two that do not work.
  4. Re: Dual USART, Second USART sends but not receives, PIC18F24K22

    Sinde you say that UART1 is working fine with your config settings, then UART2 should also be working fine with the same config settings.
    Change your lines to




    DEFINE OSC 16

    DEFINE...
  5. Re: Dual USART, Second USART sends but not receives, PIC18F24K22

    TRISB.7 = 1
    TRISC.7 = 1


    RX1 and RX2 Pins = input pins.
  6. Replies
    10
    Views
    827

    Re: Serial data transmission period

    CASE 0,5 will work on minutes 0,5,10,15,20,25,30,35,40,45,50,55 as the DIG 0 is always either 0 or 5.
    CASE 1,6 will work on minutes 1,6,11,16,21,26,31,36,41,46,51,56 as the DIG 0 is always either 1...
  7. Replies
    10
    Views
    827

    Re: Serial data transmission period

    It is my bad.
    (TimeM//6) may take another 2,3,4,5 minutes depending on the minute value :)

    You may want use "Second". Example;




    SendFlag var bit
  8. Replies
    10
    Views
    827

    Re: Serial data transmission period

    This is one good way :)
    It seems that when this condition gets true, then it will send data for the duration of whole 1 minute.
    If you also add "Second" to this condition, it will also send the...
  9. Re: hserin buffer fills before all characters can be read

    Hserin [WAIT("U"),STR IncomingData\9]
    'This one waits forever for the correct string to arrive.


    Hserin 100, Jump, [WAIT("U"),STR IncomingData\9]
    'This one waits for the correct string for...
  10. Replies
    2
    Views
    447

    Re: DT Elapsed Timer

    Wifi or Wiki?

    http://www.picbasic.co.uk/forum/content.php?r=526-Re-Temporary-central-repository-of-Darrel-Taylor-s-works-(including-Mr-E-s-Multicalc
  11. Thread: MAX232 problems

    by sayzer
    Replies
    4
    Views
    1,597

    Re: MAX232 problems

    Using ST232 and MAX232, I use 1uf elect type for many years now. Never had a heat problem.
    For 232epe, some additional care may be required as Richard mentioned.
  12. Thread: MAX232 problems

    by sayzer
    Replies
    4
    Views
    1,597

    Re: MAX232 problems

    What is it that you did not understand on this circuit?



    8494
  13. Thread: Metal Detector

    by sayzer
    Replies
    18
    Views
    58,976

    Re: Metal Detector

    Hi Andy,

    Here is a link for you. It has a Metal Detector circuit with 12F1840.


    Also, below is the circuit schematic.

    http://www.digiwood.ee/images/metaldetectorimages/schematic_700.png
  14. Re: What memory is used for DATA @X, LONG $XXXXXX

    This should give you some idea how it is orginized.

    It explains itself. I captured the values 4 times, and the picture shows all 4 values.



    LongVal var long
    ByteVal0 var byte
    ByteVal1 var...
  15. Replies
    68
    Views
    48,192

    Re: New PIC Utility. PICMultiCalc

    There are two files, FM20 and FM20ENU.
    MultiCalc needs both.

    It appears that my FM20 files came from MS Office XP installation; yours might come from somehwere else.

    Attached is a rar file;...
  16. Replies
    68
    Views
    48,192

    Re: New PIC Utility. PICMultiCalc

    Steve's LCD custom char generator works on my 64-bit Win10 here.

    Must be something else.
  17. Replies
    2
    Views
    444

    Re: Speed of commands

    HIGH and LOW commands first set the corresponding pin(s) to be output; then change the state of the pin to 1 or 0.

    Therefore, it produces a few more lines of code behind; and it takes longer time.
  18. Replies
    19
    Views
    2,241

    Re: Wait for a string on a serial port

    Hi Roger,


    I know you are using external 8Mhz crystal, that is why you need to tell the chip about it.
    In your code, there is no OSC setting. You have it in fuse.
    Default OSC setting is...
  19. Replies
    19
    Views
    2,241

    Re: Wait for a string on a serial port

    You have DEFINCE OSC 8 in your code with HS option in fuse.



    OSCCON.0 = 0 ' Clock source defined by FOSC<2:0> of the Configuration Word register


    This way, chip knows the clk source.
    ...
  20. Replies
    8
    Views
    1,329

    Re: HB100 radar module

    One of the best examples of measuring frequency with impressive accuracy is here:
    http://www.picbasic.co.uk/forum/showthread.php?t=1137

    On post #21.
  21. Replies
    8
    Views
    1,329

    Re: HB100 radar module

    HB100 speed measurement is explained here:

    From the first page:
    ......IF the target is moving straight toward or away from HB100 (Ft = 10.525 Ghz) the formula is simplified to:
    Fd = 19.49V...
  22. Replies
    12
    Views
    2,011

    Re: srial over the IR

    If the received data is like a garbage, then reverse IR LED legs.

    8413
  23. Replies
    36
    Views
    35,988

    Re: PCB low volume production

    We are looking for a pick & place machine that supports 540mm x 540mm pcb size.

    If anyone knows a company that makes such machine, please post its information.
  24. Re: CCP1CON and CCP2CON strange behaviour - need some advice

    Nevertheless, problem solved, right? What does it matter anyway.
  25. Replies
    41
    Views
    21,301

    Re: Multiple PICs on usart network

    Post #8, "MAX3322E & MAX3323E are designed for this..."

    Pretty much the same thing, but you need an extra I/O pin.
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4