# Search:

Type: Posts; User: AlbertoFS

Page 1 of 3 1

1. ## Thread: Code for Driving 2,3 or 4 seven segment displays

by AlbertoFS
Replies
10
Views
11

### Re: Code for Driving 2,3 or 4 seven segment displays

Thank you Joseph, Teo & Charlie,
Only I try to occupy my brain, if it can be useful for the PDS users.

22/06/2018 Update code for driving 8 displays with one PORT only with the help of a simple...
2. ## Thread: Code for Driving 2,3 or 4 seven segment displays

by AlbertoFS
Replies
10
Views
11

### Re: Code for Driving 2,3 or 4 seven segment displays

Code for Driving 2 to 8 seven segment displays

20/06/2018 Update code for driving 8 displays for integer values.
Enjoy the code. See the article HERE.
Alberto

by AlbertoFS
Replies
22
Views
23

### Re: Hx711 calibration

Hi amod and Simon,
You can find a new template to use 8 displays (7 displays + sign) in the WIKI.
Regards
Alberto
4. ## Thread: Code for Driving 2,3 or 4 seven segment displays

by AlbertoFS
Replies
10
Views
11

### Re: Code for Driving 2,3 or 4 seven segment displays

Code for Driving 2 to 7 seven segment displays + sign

19/06/2018 Update code for driving 7 displays + sign. (total 8 displays)
Enjoy the code. See the article HERE.
Alberto

by AlbertoFS
Replies
22
Views
23

### Re: Hx711 calibration

Hi amod and Simon,
After some headache, I was able to finish the code to print negative numbers from -99999 to +99999, occupying 6 digits. In this way one digit is lost.
How many digits do you...

by AlbertoFS
Replies
22
Views
23

### Re: Hx711 calibration

Hi amod and Simon,
I am working to send negative numbers on the display. I have managed to show -99 to +99 already. I have to modify the structure of my program. What forces me to lose a digit or I...
7. ## Thread: Code for Driving 2,3 or 4 seven segment displays

by AlbertoFS
Replies
10
Views
11

### Re: Code for Driving 2,3 or 4 seven segment displays

Code for Driving 2 to 6 seven segment displays

Thank you very much John to publish the article.
Now the code is prepared for 6 digits.
See the article HERE.
Regards
Alberto
8. ## Thread: Code for Driving 2,3 or 4 seven segment displays

by AlbertoFS
Replies
10
Views
11

### Re: Code for Driving 2,3 or 4 seven segment displays

Hi John,
I have written this code quickly to help a PDS user. I have already found new tricks to increase the speed and efficiency of the program. I could write an article for the end of this week....
9. ## Thread: Code for Driving 2,3 or 4 seven segment displays

by AlbertoFS
Replies
10
Views
11

### Code for Driving 2,3 or 4 seven segment displays

Hi all,
I have recovered from the forum background a code to drive 4 seven segments displays, because there seems to be some interest in project of this type at this time.
You can configure all...
10. ## Thread: AlbertoFS has just uploaded Driving 2,3 or 4 seven segment displays.!

by AlbertoFS
Replies
0
Views
1

### AlbertoFS has just uploaded Driving 2,3 or 4 seven segment displays.!

AlbertoFS has just uploaded Driving 2,3 or 4 seven segment displays.!

I have recovered from the forum background a code to drive 4 seven segments displays.
Surely the code had been written by...

by AlbertoFS
Replies
3
Views
4

### Re: Bootloader for the 18F26K22

Hi George,
There are 3 subfolders:
Dev_18F23K20_18F46K20
Dev_18F23K22_18F46K22...

by AlbertoFS
Replies
3
Views
4

### Re: Bootloader for the 18F26K22

Hi Yves,
You could use my PDS bootloader running with a terminal program or the DS30 booloader running with a PC application. I do not have the hex file for the 26K22.
Regards
Alberto
13. ## Thread: Message during compilation

by AlbertoFS
Replies
1
Views
2

### Re: Message during compilation

You're right "messg" directive does not work for that. But the message appears in the .lst & asm files. What could be useful for me to search the macros in the asm file.
Thanks for remembering this...
14. ## Thread: Num_Byte on 18F26K42

by AlbertoFS
Replies
13
Views
14

### Re: Num_Byte on 18F26K42

Hi George,
To make simple macros it is better to use the processor. For more complicated macros I use a mixed of the two systems. Everything depends on what you want to achieve.
Alberto
15. ## Thread: Num_Byte on 18F26K42

by AlbertoFS
Replies
13
Views
14

### Re: Num_Byte on 18F26K42

Thank you very much for the information, Les.
Families xxK40 and xxK42 are not easy and have complicated the lives of PDS users.
Regards
Alberto
16. ## Thread: Num_Byte on 18F26K42

by AlbertoFS
Replies
13
Views
14

### Re: Num_Byte on 18F26K42

Hi George,
I have modified their ASM macros so that you have brackets to be the same as other macros written by the processor.

EUREKA ...
I found the problem !!!!
Change the [Declare...
17. ## Thread: Num_Byte on 18F26K42

by AlbertoFS
Replies
13
Views
14

### Re: Num_Byte on 18F26K42

Hi George,
I have copied a macro from your program to a new very short test program. As I had announced in post#2, it works perfectly.
I have been able to see in your file that the 2 macros are not...
18. ## Thread: Num_Byte on 18F26K42

by AlbertoFS
Replies
13
Views
14

### Re: Num_Byte on 18F26K42

Hi George,
I have compiled your macro with the PDS version 3.6.1.4 and I do not see anything strange in the compiled asm code.
I have tried to put their variables in Bank0 and I have left them in...

by AlbertoFS
Replies
44
Views
2,812

### Re: A Universal PIC18 Bootloader for PDS

Hi George,

In particular my bootloader is written in Proton language, which allows the...

by AlbertoFS
Replies
44
Views
2,812

### Re: A Universal PIC18 Bootloader for PDS

Hi all,
I would intend to create a new bootloader that will record only in the upper part of the ROM from a defined address to update the subroutines and many tables written in the ROM.
Would this...
21. ## Thread: 18F24k20 Handbrake Stuck

by AlbertoFS
Replies
41
Views
3,727

### Re: 18F24k20 Handbrake Stuck

Hi Charlie,
As George said the NVMCON1 register works different as standard because an errata. I published this in my bootloader 12 months ago.

' ROM memory has a new System To read/write.
' ...
22. ## Thread: 18F24k20 Handbrake Stuck

by AlbertoFS
Replies
41
Views
3,727

### Re: 18F24k20 Handbrake Stuck

I have extracted the code from my bootloader.

Device = 18F24K40
Declare Xtal = 64

'/ DEFINE THE PLL: On / OFF (not used with the Internal Oscillator).
\$define PLL_ConfigFuses...

by AlbertoFS
Replies
44
Views
2,812

### Re: A Universal PIC18 Bootloader for PDS

an example:
Before:

#Disable HRSOut ' Bypass the compiler's HRSOut library subroutine
'===============================================================================
GoTo...
24. ## Thread: 18F24k20 Handbrake Stuck

by AlbertoFS
Replies
41
Views
3,727

### Re: 18F24k20 Handbrake Stuck

Hi Charlie,
I sent you 2 PM's.

Alberto
25. ## Thread: 18F24k20 Handbrake Stuck

by AlbertoFS
Replies
41
Views
3,727

### Re: 18F24k20 Handbrake Stuck

Hi Charlie,
I have never had so many problems with the 2xK20 and 2xK22 families. All my libraries and projects have been written for these PICs. Could you send me your schematic, components list and...

by AlbertoFS
Replies
44
Views
2,812

### Re: A Universal PIC18 Bootloader for PDS

Hi John,
The "HRSOut" was the label also for the asm routine that puts the byte into the UART buffer. I think it is better now to avoid confusing.

Alberto

by AlbertoFS
Replies
44
Views
2,812

### Re: A Universal PIC18 Bootloader for PDS

In the new version of PDS 3.6.1.2 a lot of code has been modified such as the label of the HRSout routine.
Before: HRSout
Now: __hrsout1__
Take it into account in the replacement routine in my...
28. ## Thread: 18F24k20 Handbrake Stuck

by AlbertoFS
Replies
41
Views
3,727

### Re: 18F24k20 Handbrake Stuck

Charlie,
I do not just understand the problem with this chip. It could be that I do not understand the English language well.
According to the datasheet of the PIC18F24K20 it is identical to the...

by AlbertoFS
Replies
9
Views
10

### Re: 18f25k42 pps

I wrote a library for the PIC18FxxK40 series based on Les' code. It could be possible to use it for the K42 series. Just check the 2 datasheets and seee the differences.

PIC18FxxK40 PPS

Alberto
30. ## Thread: Is it possible to get a return parameter from PreProcessor

by AlbertoFS
Replies
3
Views
4

### Re: Is it possible to get a return parameter from PreProcessor

Hi Bob,
I have lost a bit of practice in Macros. I suppose that the routines are going to be used several times, You would have to make a mix of Preprocessor and Macro asm.
There are several...
31. ## Thread: Replace Label with String

by AlbertoFS
Replies
8
Views
9

### Re: Replace Label with String

I have discussed this topic several times in the forum. I had written a library to read the Strings in the Cdata tables. I have not studied the PIC24 and I did not write the procedures. But it can...
32. ## Thread: HPC Development Board DM164136

by AlbertoFS
Replies
6
Views
7

### Re: HPC Development Board DM164136

George,
Thank you very much for all infos.
I'll see the Explorer 8 Board that has the full options.
Regards
Alberto
33. ## Thread: HPC Development Board DM164136

by AlbertoFS
Replies
6
Views
7

### Re: HPC Development Board DM164136

Thanks George,
So if there is not a UART connection to the PC having a connector and a CPU that could do this function, this board is worth almost nothing. I have not seen the Xtal on the picture...
34. ## Thread: HPC Development Board DM164136

by AlbertoFS
Replies
6
Views
7

### Re: HPC Development Board DM164136

In the schematic the TARGET PROG connector is drawn. I do not see it in the printed circuit?????
Any comment?
35. ## Thread: HPC Development Board DM164136

by AlbertoFS
Replies
6
Views
7

### HPC Development Board DM164136

Has anyone used this Microchip platform for PIC18?
Is it essential to use the MPLAB Xpress to program the PIC?
Can the USB port be used as PC connection => UART?
Thanks for the info.
Alberto
Results 1 to 35 of 100
Page 1 of 3 1