Search found 7402 matches

by medelec35
Wed Nov 25, 2020 9:33 pm
Forum: Flowcode V6
Topic: PIC16F1503
Replies: 8
Views: 317

Re: PIC16F1503

Hi
I would recommend controlling 7Seg displays like this
I would suggest looking at 7Segment Timer demo and changing it into the voltmeter you are after.
If you are stuck, I can help you further.
by medelec35
Tue Nov 24, 2020 6:04 pm
Forum: Flowcode V8
Topic: NTC thermistor Temp sensor
Replies: 68
Views: 3042

Re: NTC thermistor Temp sensor

Hi Derrihj,
Sorry for the delay,
I have sent you a PM.
by medelec35
Tue Nov 24, 2020 1:18 pm
Forum: Bug Reports
Topic: PIC18F46K42 ISSUE WITH 12 BIT ADC RESULT
Replies: 16
Views: 176

Re: PIC18F46K42 ISSUE WITH 12 BIT ADC RESULT

Hi Guys.
Thank you for the confirmation and nice words.
All appreciated.
by medelec35
Mon Nov 23, 2020 7:28 pm
Forum: Bug Reports
Topic: PIC18F46K42 ISSUE WITH 12 BIT ADC RESULT
Replies: 16
Views: 176

Re: PIC18F46K42 ISSUE WITH 12 BIT ADC RESULT

Hi All, I have an unofficial fix for you. Note Run an update before applying fix, as the update will override the fix. You will need to place the attached file in C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\PIC which is hidden by default. If file was added when Flowcode was running then flowchart will r...
by medelec35
Mon Nov 23, 2020 1:56 pm
Forum: Bug Reports
Topic: PIC18F46K42 ISSUE WITH 12 BIT ADC RESULT
Replies: 16
Views: 176

Re: PIC18F46K42 ISSUE WITH 12 BIT ADC RESULT

Hi,
This evening when I get home from work,
I will see if I can post an unofficial fix to get the ADC component working.
by medelec35
Tue Nov 17, 2020 10:15 pm
Forum: Flowcode V8
Topic: Compiler problem PIC 18F4450
Replies: 7
Views: 96

Re: Compiler problem PIC 18F4450

I am still getting the following warning. ^ (1386) unable to determine the semantics of the configuration setting "FOSC" for register "CONFIG1H" (warning) That issue I covered by You will need select the correct oscillator type The default oscillator type is 15, which is nonsensical. You will need ...
by medelec35
Tue Nov 17, 2020 9:17 pm
Forum: Flowcode V8
Topic: Compiler problem PIC 18F4450
Replies: 7
Views: 96

Re: Compiler problem PIC 18F4450

The issues are within configuration settings i.e Build, project options, configure.
You will need select the correct oscillator type and change Extended CPU Enable to Disable.
You will be best going over all the options e.g Watchdog Time to disable etc.
by medelec35
Tue Nov 17, 2020 9:03 pm
Forum: 8-Bit PIC
Topic: Fixed frequency timed output
Replies: 32
Views: 585

Re: Fixed frequency timed output

Hi Bob,
maybe best to try on hardware.
I can see where there would be a stack issue.
Unless the I2C backpack is causing an issue with the stack?
Perhaps matrix staff would know the answer?
I'm note sure how to increase software stack with XC8?
by medelec35
Tue Nov 17, 2020 7:16 pm
Forum: 8-Bit PIC
Topic: Fixed frequency timed output
Replies: 32
Views: 585

Re: Fixed frequency timed output

The idea of the moving the calculation within the interrupt was so the 60 is shown only when LED is enabled and output is on (and see seconds counting). Otherwise displays shows as 0. Just tried it and works every time for me. Changed your flowchart to replicate the image I have posted. I can see a ...
by medelec35
Tue Nov 17, 2020 6:16 pm
Forum: 8-Bit PIC
Topic: Fixed frequency timed output
Replies: 32
Views: 585

Re: Fixed frequency timed output

Hi Bob,
Try changing interrupt to:
Change timer interrupt to this.png
Change timer interrupt to this.png (60.02 KiB) Viewed 139 times
by medelec35
Mon Nov 16, 2020 6:28 pm
Forum: General Programming
Topic: Flowcode6
Replies: 6
Views: 651

Re: Flowcode6

Hi Alexandr, Can you ask for help via main forums please and not via PM as its against forum rules . Issues with your flowchart is you need to add a LCD start component before the main loop: LCD1.png & Within configuration settings, you will need to change RC to XT as RC is only If you have an exter...
by medelec35
Thu Nov 12, 2020 6:41 pm
Forum: Bug Reports
Topic: Ports A6 & A7 not accessible
Replies: 9
Views: 217

Re: Ports A6 & A7 not accessible

Hi Ben,
You're welcome.
Thank you for the updates.
by medelec35
Wed Nov 11, 2020 9:31 pm
Forum: General Programming
Topic: HIGH LOW VOLTAGE DETECTION
Replies: 2
Views: 156

Re: HIGH LOW VOLTAGE DETECTION

Hik Bob.
Check out:
PIC18-Q10
PIC18-K40
PIC18-K42
PIC18-K83

For example PIC18f27K40
by medelec35
Sun Nov 08, 2020 10:19 pm
Forum: General Programming
Topic: Bluetooth on Android
Replies: 23
Views: 870

Re: Bluetooth on Android

I don't have any issues with HC05 or HC06 as created a flowchart that can program both. It can set the baud, the pin and the name with a number after, with is automatically incremented. This is in case you have a fair few that require programming. I Could adapt it for an Arduino if you are intereste...
by medelec35
Sun Nov 08, 2020 2:21 am
Forum: Bug Reports
Topic: Ports A6 & A7 not accessible
Replies: 9
Views: 217

Re: Ports A6 & A7 not accessible

I have moved topic to bug reports for Matrix staff to sort out.
by medelec35
Sun Nov 08, 2020 1:59 am
Forum: General Programming
Topic: Bluetooth on Android
Replies: 23
Views: 870

Re: Bluetooth on Android

Sounds really good.
Does it work as expected?
by medelec35
Sat Nov 07, 2020 9:21 pm
Forum: Bug Reports
Topic: Ports A6 & A7 not accessible
Replies: 9
Views: 217

Re: Ports A6 & A7 not accessible

Thanks Ian,
Glad you sorted it now.
ianjoh wrote:
Sat Nov 07, 2020 9:05 pm
my mistake was to allow FC to do an update which rolled the file back!
Yes that will do it. :lol:
No problem easily done.
I have not got the chip to test A6 &7.
Hopefully will work okay.
by medelec35
Sat Nov 07, 2020 8:15 pm
Forum: Bug Reports
Topic: Ports A6 & A7 not accessible
Replies: 9
Views: 217

Re: Ports A6 & A7 not accessible

Hi Ian,
Working okay for me:
Port A Selection.png
Port A Selection.png (39.27 KiB) Viewed 171 times
Did it state you already have a file with the same name and do you want to replace the file in the desination?
by medelec35
Sat Nov 07, 2020 12:28 am
Forum: Bug Reports
Topic: Ports A6 & A7 not accessible
Replies: 9
Views: 217

Re: Ports A6 & A7 not accessible

Hi Ian,
As a temp unofficial fix can you try the attached file?
You will need to place it in C:\ProgramData\MatrixTSL\FlowcodeV8\FCD\PIC which is hidden by default.
If file was added when Flowcode was running then flowchart will require reloading.
by medelec35
Fri Nov 06, 2020 12:02 am
Forum: General Programming
Topic: Bluetooth on Android
Replies: 23
Views: 870

Re: Bluetooth on Android

No problem Martin. What I do to live test i.e not install apk on the mobile. Install then run on mobile MIT App Inventor 2. I find it better to tick use Legacy Connection. On the PC browser connect to App inventor 2, then select Connect, AI Companion. A Qcode will pop up. On your mobile, Select Scan...
by medelec35
Thu Nov 05, 2020 10:47 pm
Forum: Flowcode V6
Topic: Using FFT_test.fcfx
Replies: 59
Views: 24536

Re: Using FFT_test.fcfx

Hi Abhi, Any voltages less the minimum resolution E.g for 10 bit = 5/1024 = 4.88mv will be treated a 0 That will include negative voltages. You will need to be careful with negative voltages as the clamping diodes will clamp the ADC pin to -0.7v If current is not limited and voltage is lower than -0...
by medelec35
Thu Nov 05, 2020 6:56 pm
Forum: General Programming
Topic: Bluetooth on Android
Replies: 23
Views: 870

Re: Bluetooth on Android

Hi Martin, attached will work much better and faster. No flickering either. I have changed the array number to 10 which will allow from 1 to 10 individual inputs to be displayed on the app. Have you got it to work okay with app displaying both ADC values? You can do all sorts with the App, e.g have ...
by medelec35
Wed Nov 04, 2020 9:30 pm
Forum: General Programming
Topic: Bluetooth on Android
Replies: 23
Views: 870

Re: Bluetooth on Android

I created the App to work as an array.
So by just altering array numbers you could have say 10 different analogue/digital inputs and each status will show on the mobile.
Can you see the values on your mobile with 2 ADC converters?
by medelec35
Wed Nov 04, 2020 12:50 am
Forum: General Programming
Topic: Bluetooth on Android
Replies: 23
Views: 870

Re: Bluetooth on Android

Hi Martin,
Something for you to play with to give you an idea.
by medelec35
Tue Nov 03, 2020 11:44 pm
Forum: General Programming
Topic: compiler error message
Replies: 6
Views: 170

Re: compiler error message

Hi Adainkeh, It may be a bug, But that could also happen if not assigned a component to the correct pins. E.g a component is assigned to port A2, then you change a target device that does not have port A e.g, your Atmega 238 If the component pin is not changed you will see that error. ore you have a...