Search Results - Proton BASIC community web site

• # Search:

Type: Posts; User: AlbertoFS

Page 1 of 3 1

1. ## Thread: random number in Edata

by AlbertoFS
Replies
10
Views
11

### Re: random number in Edata

You can find a good random code in my library HERE, in the Random folder.
2. ## Thread: Tone detection with Goertzel's algorithm

by AlbertoFS
Replies
3
Views
4

### Re: Tone detection with Goertzel's algorithm

Thank you George.
3. ## Thread: Tone detection with Goertzel's algorithm

by AlbertoFS
Replies
3
Views
4

### 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...
4. ## Thread: How much code space our routines have article

by AlbertoFS
Replies
9
Views
10

### 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...
5. ## Thread: How much code space our routines have article

by AlbertoFS
Replies
9
Views
10

### Re: How much code space our routines have article

10/10/2018
There are more than 35 macros available.
Regards
Alberto

by AlbertoFS
Replies
3
Views
4

### Re: Compiler Error

I had same problem writing a preprocessor macro.
Alberto
7. ## Thread: Convert Integers to Float

by AlbertoFS
Replies
13
Views
14

### Re: Convert Integers to Float

John,

(1) Dividend(+) / Divisor(+) = Result(+) => Remainder(+), Decimals(+)
(2) Dividend(-) / Divisor(+) = Result(-) => Remainder(+), Decimals(+)
(3) Dividend(+) /...
8. ## Thread: Convert Integers to Float

by AlbertoFS
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
9. ## Thread: Convert Integers to Float

by AlbertoFS
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...
10. ## Thread: Convert Integers to Float

by AlbertoFS
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.
11. ## Thread: How much code space our routines have article

by AlbertoFS
Replies
9
Views
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....
12. ## Thread: Convert Integers to Float

by AlbertoFS
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...
13. ## Thread: Convert Integers to Float

by AlbertoFS
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...
14. ## Thread: PicKit 3 error PK3Err0033

by AlbertoFS
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...
15. ## Thread: Problem with TO bit of RCON

by AlbertoFS
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...
16. ## Thread: Problem with TO bit of RCON

by AlbertoFS
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...
17. ## Thread: How much code space our routines have article

by AlbertoFS
Replies
9
Views
10

### Re: How much code space our routines have article

21/09/2018 Fixed an errata with __KEYPAD_PORT.

Regards
18. ## Thread: Unpacked BCD Maths

by AlbertoFS
Replies
9
Views
10

### Re: Unpacked BCD Maths

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

by AlbertoFS
Replies
9
Views
10

### 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...
20. ## Thread: Unpacked BCD Maths

by AlbertoFS
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...
21. ## Thread: Unpacked BCD Maths

by AlbertoFS
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...
22. ## Thread: Happy Birthday AlbertoFS

by AlbertoFS
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
23. ## Thread: Unpacked BCD Maths

by AlbertoFS
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...
24. ## Thread: EEPROM write time

by AlbertoFS
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...
25. ## Thread: How much code space our routines have article

by AlbertoFS
Replies
9
Views
10

### 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
26. ## Thread: How much code space our routines have article

by AlbertoFS
Replies
9
Views
10

### 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
27. ## Thread: AlbertoFS has just uploaded How much code space our routines have?!

by AlbertoFS
Replies
0
Views
1

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

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

28. ## Thread: Malware on this website?

by AlbertoFS
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

by AlbertoFS
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
30. ## Thread: Pulse counter using COUNTER command

by AlbertoFS
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
31. ## Thread: Pulse counter using COUNTER command

by AlbertoFS
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,...
32. ## Thread: Pulse counter using COUNTER command

by AlbertoFS
Replies
33
Views
34

### [SOLVED !] Re: Pulse counter using COUNTER command

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
33. ## Thread: Code for Driving 2,3 or 4 seven segment displays

by AlbertoFS
Replies
25
Views
26

### 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
34. ## Thread: Code for Driving 2,3 or 4 seven segment displays

by AlbertoFS
Replies
25
Views
26

### 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...
35. ## Thread: Code for Driving 2,3 or 4 seven segment displays

by AlbertoFS
Replies
25
Views
26

### 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
Results 1 to 35 of 100
Page 1 of 3 1