Search:

Type: Posts; User: AlbertoFS

Page 1 of 3 1 2 3

Search: Search took 0.02 seconds.

  1. Re: Tone detection with Goertzel's algorithm

    Thank you George.
  2. Tone detection with Goertzel's algorithm

    Hi all,
    I am writing a code to detect an audio tone using Goertzel's algorithm. Since the code is very big, I would like to find solutions to reduce the lines of code. I have this formula written...
  3. Re: How much code space our routines have article

    19/10/2018
    Added a new code for VarToStrg() Macro.
    Added new macros: CWBeacon_Init() / CWBeacon_Send() / CWWait_Buttons()
    With these macros and a few lines of code, the PDS user can built a Ham CW...
  4. Re: How much code space our routines have article

    10/10/2018
    Added new macros: ReadTSensorTSH(), VarToStrg() & Update ConvToFloat() for negative numbers.
    There are more than 35 macros available.
    Regards
    Alberto
  5. Replies
    3
    Views
    4

    Re: Compiler Error

    I had same problem writing a preprocessor macro.
    Alberto
  6. Replies
    13
    Views
    14

    Re: Convert Integers to Float

    John,
    I have made some tests:

    (1) Dividend(+) / Divisor(+) = Result(+) => Remainder(+), Decimals(+)
    (2) Dividend(-) / Divisor(+) = Result(-) => Remainder(+), Decimals(+)
    (3) Dividend(+) /...
  7. Replies
    13
    Views
    14

    Re: Convert Integers to Float

    Hi George,
    It seemed obvious. I have not seen the tree in the forest. So why the Remainder is not negative when the result of the division is negative?
    Thank you very much.
    Regards
    Alberto
  8. Replies
    13
    Views
    14

    Re: Convert Integers to Float

    Hi George & Bob,
    George is right, I have to give an example to understand all the possibilities.
    After performing some calculations with integer positive variables, I wanted to give the same...
  9. Replies
    13
    Views
    14

    Re: Convert Integers to Float

    The problem has been to pass the decimals to a negative float variable. But the problem is solved and the macro works very well.:smile:
    See the code HERE.
  10. Re: How much code space our routines have article

    04/10/2018:Version 1.4 Fixed some erratas with the preprocessor.

    Add new macros: MeasurePeriod(), MeasureTime(), HRSOut_RCON(), ConvToFloat().
    You can find more than 31 macros in this library....
  11. Replies
    13
    Views
    14

    Re: Convert Integers to Float

    Exactly this works very well. My question was how to pass the variables not signed and signed by the macro. The conversion is for 2 variables: Result & Decimals. I have seen that the variables must...
  12. Replies
    13
    Views
    14

    Convert Integers to Float

    Hi all,
    I have searched the manual and I have not found a command that converts integer variables (Whole number & decimals) to a variable Float.
    Then I have written a macro for this function. Now...
  13. Replies
    8
    Views
    5,093

    Re: PicKit 3 error PK3Err0033

    I have been this problem for several weeks. PICKit 3 stopped working with the MPLAB_IPE for an unknown reason.

    I have applied the akhil solution (see Post # 7) and it has worked perfectly.
    Thanks...
  14. Replies
    2
    Views
    3

    Re: Problem with TO bit of RCON

    Les,
    Thank you very much for adding this solution. So this will be a great improvement for PDS users. I already have the code written to manage all the RCON bits at the start of the PIC.
    I am...
  15. Replies
    2
    Views
    3

    Problem with TO bit of RCON

    Hi Les,
    In case of debug I wanted to know the all status of the bits of RCON register and mostly the TO bit (watchdog status). As the compiler is configured, it can not be done because the clrwdt...
  16. Re: How much code space our routines have article

    21/09/2018 Fixed an errata with __KEYPAD_PORT.

    Regards
  17. Replies
    9
    Views
    10

    Re: Unpacked BCD Maths

    The N-Bits BCD Maths has been published HERE.
  18. Re: How much code space our routines have article

    N-Bit Maths with BCD arrays:

    Hi all,
    I have written some codes allowing very large calculations with some unpacked integer BCD arrays.
    It has been a lot of work because I do not know much about...
  19. Replies
    9
    Views
    10

    Re: Unpacked BCD Maths

    Hi George,
    Yes, you have remembered it well. The n-bit Mats has been written by Darrel Taylor. This code used binary arrays and was written in assembler.
    For the n-bit BCD Maths, I have used BCD...
  20. Replies
    9
    Views
    10

    Re: Unpacked BCD Maths

    Well, I have managed, after a lot of work, to write a new code that allows a division of 20 Bytes / 1 Byte or 64 Bits / 8 Bits in 6.5 mS with the FOSC of 64Mhz. I think it's very acceptable.
    BCD...
  21. Replies
    5
    Views
    6

    Re: Happy Birthday AlbertoFS

    Thank you very much to all. I'm still programming the PICs. The PDS is the medicine that allows me to have my brain active.
    Alberto
  22. Replies
    9
    Views
    10

    Unpacked BCD Maths

    Hi all,
    I have written & finished to check some maths for unpacked BCD arrays for very very large numbers that I will publish soon in the wiki.
    The division that I made with reiterations of...
  23. Replies
    8
    Views
    9

    Re: EEPROM write time

    Hi Joseph,
    I think it is 4mS for K series. Then 4 x 32 = 128 mS.
    If writing on the eeprom is not repetitive, it could be done by interruption when the program does other important things.
    I wrote...
  24. Re: How much code space our routines have article

    Hi Tim,
    You probably have the wrong thread. I do not think I wrote this in this library.
    Please, Could you specify in which case?
    Regards
  25. How much code space our routines have article

    This article is based on an idea and code by Darrel Taylor. How much code space do our routines have? We can find out with some MPASM directives. And much more... Read the article HERE.

    Alberto
  26. AlbertoFS has just uploaded How much code space our routines have?!

    AlbertoFS has just uploaded How much code space our routines have?!

    Please read the article HERE.
  27. Replies
    103
    Views
    104

    Re: Malware on this website?

    Last week the web was blocked sometimes and now I get malware.
    Firefox 64 bits V61.0.1
    Alberto
  28. Replies
    19
    Views
    20

    Re: Frequency counter

    Hi Teo,
    You could use my project HERE.
    I am going to review the code for the PIC18Fxx20 family and with 8 displays, I could help you in this matter.
    Regards
    Alberto
  29. Replies
    33
    Views
    34

    [SOLVED !] Re: Pulse counter using COUNTER command

    Yes, after the Declare statements. See the example in Eight7SegDisplay.BAS.
    Include "MultiplexB8Digits_lib.inc"

    Alberto
  30. Replies
    33
    Views
    34

    [SOLVED !] Re: Pulse counter using COUNTER command

    Joseph, do not worry. The code is not always obvious. As I have a way to write the code that is not compatible with the PIC16.

    Amod,
    For positive values, you can use the project: EightDisplaysV3,...
  31. Replies
    33
    Views
    34

    [SOLVED !] Re: Pulse counter using COUNTER command

    Admod,
    I write my projects only for PIC18 and they are not compliant with PIC16. A good change would be to use a PIC18F25K22. Tell me your needs and I will be able to verify it.
    Regards
  32. Re: Code for Driving 2,3 or 4 seven segment displays

    Hi Joseph,
    YES, the project with keypad includes Float, Signed, Integer numbers & Strings.
    Into the Doc folder I included a manual of the project.
    Regards
    Alberto
  33. Re: Code for Driving 2,3 or 4 seven segment displays

    George, thanks for the information. Nothing happens to me of all that you tell me and then I do not know how I can fix it. I see no alternative but to mount a real prototype for the Amicus Board for...
  34. Re: Code for Driving 2,3 or 4 seven segment displays

    Hi all,
    In case if I had wrong in version I upload again a new code.
    Regards
    Alberto
  35. Re: Code for Driving 2,3 or 4 seven segment displays

    I have found my problem. It seems to be a path problem for Proteus. Then I have installed the version of PDS 3.6.1.7 on the main machine and everything works correctly with the Proteus 8.2 SP0....
Results 1 to 35 of 100
Page 1 of 3 1 2 3