Search found 1862 matches

by medelec35
Fri Jul 04, 2025 12:35 pm
Forum: General
Topic: PIC16F1779 DAC and PWM problem
Replies: 3
Views: 106

Re: PIC16F1779 DAC and PWM problem

Hello. This needs looking into since the maximum number of DAC's is currently 4 so even if all the pins are correct, only the first 4 will work. This device has a funny register for CCP as that's what we currently use for PWM. it goes CCP1, CCP2, CCP7 & CCP8 The way Flowcode address the CCP regi...
by medelec35
Thu Jul 03, 2025 5:00 pm
Forum: Feature Requests
Topic: App Input text for filename (More Info for components)
Replies: 6
Views: 134

Re: App Input text for filename (More Info for components)

Brilliant, yep, you got it.
I'm glad you found it very simple.
Those API's come in very handy, especially for component creation.
Thanks for letting me know
by medelec35
Thu Jul 03, 2025 3:37 pm
Forum: Feature Requests
Topic: App Input text for filename (More Info for components)
Replies: 6
Views: 134

Re: App Input text for filename (More Info for components)

Hi Stefan,
Attached is one way.
I then added a text component:
Post User text1.png
Post User text1.png (26.49 KiB) Viewed 103 times
by medelec35
Thu Jul 03, 2025 10:07 am
Forum: Tips & Tricks
Topic: Updating XC8 Compiler
Replies: 6
Views: 11130

Re: Updating XC8 Compiler

Hi Dirk.
Flowcode isn’t currently compatible with XC8 v3.0.
It’s on our to-do list and we will fix it as soon as we can.
Apologies for any inconvenience.
I will make an announcement when it's sorted.
by medelec35
Wed Jul 02, 2025 2:31 pm
Forum: General
Topic: Help with XC compiler problem
Replies: 13
Views: 12215

Re: Help with XC compiler problem

You're welcome.
I have added the path for FC9 as well
by medelec35
Wed Jul 02, 2025 12:15 pm
Forum: General
Topic: Help with XC compiler problem
Replies: 13
Views: 12215

Re: Help with XC compiler problem

Hello.
You can see them within internals.c
Which can be found at the following for Flowcode10::

Code: Select all

%ProgramData%\MatrixTSL\FlowcodeV10\CAL
FlowcodeV9:

Code: Select all

%ProgramData%\MatrixTSL\FlowcodeV9\CAL
Since the directory is hidden, just copy and paste the above path in windows explorer.
by medelec35
Sun Jun 29, 2025 10:28 am
Forum: Bug Reports
Topic: ESP32 ADC not working
Replies: 22
Views: 1822

Re: ESP32 ADC not working

Hello.
Yes there is.
If you run Library updates and change Files in use to full database, the latest ADC CAL should resolve your issues.
You should now be able to used ADC2 instead of being restricted to ADC1.
You will still need be wary of sone pins:
Pins used with caution.png
Pins used with caution.png (157.79 KiB) Viewed 300 times
by medelec35
Fri Jun 27, 2025 12:33 am
Forum: General
Topic: Syntax Error
Replies: 8
Views: 909

Re: Syntax Error

Hi Abhi I have looked at the files you sent. The are way to large for me to track down the issue. My guess it could be a recursive function or manual macro linking created a circular reference. Whatever it is the compiler does not like it at all. Looking at the .as file the issues is within Set_Para...
by medelec35
Wed Jun 25, 2025 3:34 pm
Forum: General
Topic: Syntax Error
Replies: 8
Views: 909

Re: Syntax Error

Hello.
Just the words syntax error showing for error is normally unconnected pins.
If you can post your .fcfx, .c and .msg.txt files, then we can help you further.
The bold number you have shown, will refer to a line number within a file ,the error could be found.
by medelec35
Wed Jun 25, 2025 8:16 am
Forum: General
Topic: error or bug
Replies: 14
Views: 2494

Re: error or bug

Hello. The compiler is warning you because it sees the same piece of code (the one that reads or writes the whole port) being used both in your main program and inside an interrupt. It does this to make sure you don’t ever run that code in both places at once, which could corrupt data. In your IOC_P...