Search found 1331 matches

by medelec35
Mon Mar 25, 2024 7:52 am
Forum: General
Topic: EEPROM_FLOAT PIC16F1939
Replies: 12
Views: 575

Re: EEPROM_FLOAT PIC16F1939

That's great!
At least you know that one float variable takes four EEPROM addresses.
Thank you for updating us.
by medelec35
Sun Mar 24, 2024 6:39 pm
Forum: General
Topic: EEPROM_FLOAT PIC16F1939
Replies: 12
Views: 575

Re: EEPROM_FLOAT PIC16F1939

Try again 0, 4 etc not 0, 3
by medelec35
Sun Mar 24, 2024 6:32 pm
Forum: General
Topic: EEPROM_FLOAT PIC16F1939
Replies: 12
Views: 575

Re: EEPROM_FLOAT PIC16F1939

Hello. You will need to remember that a float is 4 bytes. If each address of EEPROM can only hold a byte, then you need to allow 4 addresses for each float variable. It seems like you are corrupting EEPROM addresses reserved for LAT with values of LONG Try setting LAT to address 0 and LONG to Addres...
by medelec35
Fri Mar 22, 2024 10:09 am
Forum: General
Topic: Modbus TCP Slave
Replies: 33
Views: 1295

Re: Modbus TCP Slave

When will the PIC Q43 series be supported? Hello to support new devices they have to be available within the compiler, then the fcdx file will need to be manually created. For the current version of the XC8 compiler, only: pic18f27q43 pic18f47q43 pic18f57q43 Are available for generating fcdx files....
by medelec35
Thu Mar 21, 2024 12:57 pm
Forum: Feature Requests
Topic: Visual-Only Flowcharter
Replies: 9
Views: 417

Re: Visual-Only Flowcharter

Hello.
There is an online parser here that Ben developed.
That will allow you to browse your PC for the fcfx project files to look at in visual form
by medelec35
Wed Mar 20, 2024 10:49 pm
Forum: General
Topic: Support for ADS1115 and ADS1118
Replies: 5
Views: 375

Re: Support for ADS1115 and ADS1118

Hello. I have attached the component to try. The Gains that are within properties are for simulation only and not hardware. The Gains parameters are included within the SampleSglRaw and SampleSglVolts Function macros. Simulation should be working OK Please take in go account the component is work in...
by medelec35
Wed Mar 20, 2024 10:39 pm
Forum: General
Topic: remap function from arduino programming
Replies: 2
Views: 174

Re: remap function from arduino programming

Hello.
Of course, the built-in remap function can do that.
However, the most efficient way to convert 10bit to 8 bit is:

Code: Select all

ADC = ADC >> 2
All the code is doing is bit shifting by 2 places which is the same as dividing by 4.
by medelec35
Wed Mar 20, 2024 10:51 am
Forum: General
Topic: Support for ADS1115 and ADS1118
Replies: 5
Views: 375

Re: Support for ADS1115 and ADS1118

Hello. Just an update. I have got the component to work with any channel in single end mode and you can set the gain. currently there is only a raw and voltage option. You can read raw with channel 1 at a gain of +/- 6.144V for example and also read volts with a different channel and a different gai...
by medelec35
Tue Mar 19, 2024 7:21 pm
Forum: Bug Reports
Topic: GPS 8Bit Pic not compile!
Replies: 4
Views: 218

Re: GPS 8Bit Pic not compile!

Hi Jorgen.
Sorry, corrected the link, so it should work now
by medelec35
Mon Mar 18, 2024 11:32 pm
Forum: General
Topic: COMPONENT ADC INPUT (POTENTIOMETER) NOT WORK-FC10
Replies: 1
Views: 126

Re: COMPONENT ADC INPUT (POTENTIOMETER) NOT WORK-FC10

Hello,
When you choose the target, of 16F628A, scroll along and it will show there are no ADCs available for that target.
No ADC 16F628A.png
No ADC 16F628A.png (19.97 KiB) Viewed 124 times
The 16F828/A has a comparator, which is why you can see AN references.
It can be confusing.

You will need to select a target that has onboard ADC.