Search:

Type: Posts; User: AlbertoFS

Page 1 of 3 1 2 3

Search: Search took 0.02 seconds.

  1. 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...
  2. 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
  3. Replies
    3
    Views
    4

    Re: Compiler Error

    I had same problem writing a preprocessor macro.
    Alberto
  4. 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(+) /...
  5. 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
  6. 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...
  7. 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.
  8. 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....
  9. 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...
  10. 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...
  11. 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...
  12. 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...
  13. 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...
  14. Re: How much code space our routines have article

    21/09/2018 Fixed an errata with __KEYPAD_PORT.

    Regards
  15. Replies
    9
    Views
    10

    Re: Unpacked BCD Maths

    The N-Bits BCD Maths has been published HERE.
  16. 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...
  17. 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...
  18. 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...
  19. 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
  20. 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...
  21. 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...
  22. 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
  23. 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
  24. 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.
  25. 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
  26. Replies
    18
    Views
    19

    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
  27. Replies
    33
    Views
    34

    Re: Pulse counter using COUNTER command

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

    Alberto
  28. Replies
    33
    Views
    34

    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,...
  29. Replies
    33
    Views
    34

    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
  30. 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
  31. 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...
  32. 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
  33. 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....
  34. Re: Code for Driving 2,3 or 4 seven segment displays

    Hi George,
    I have the PDS version 3.6.1.7 on another computer and I have compiled the project with another name.
    Returning to my original machine the Proteus V8.2 SP0 does not work if point on the...
  35. Re: Code for Driving 2,3 or 4 seven segment displays

    NEW PROJECT:
    Code for driving 3 to 8 seven segments display with KEYPAD.

    Enjoy the code. See the article HERE.
    Regards
    Alberto
Results 1 to 35 of 100
Page 1 of 3 1 2 3