Search found 7716 matches

by medelec35
Mon Jan 03, 2022 11:18 pm
Forum: Flowcode V7
Topic: Pull-up
Replies: 2
Views: 2804

Re: Pull-up

Hi.
With ATMEGA328
To enable WPU, set the pin for output high, then change to an input.
To disable WPU, set the pin for output low, then change to an input.
by medelec35
Sun Dec 26, 2021 12:30 am
Forum: Flowcode V8
Topic: cant get 64mhz from pic18f14k22, anyone have working fcfx file?
Replies: 2
Views: 1840

Re: cant get 64mhz from pic18f14k22, anyone have working fcfx file?

Hi, I have made some changes for you.
With these types of microcontrollers, the PLLEN within the OSCCON register must be enabled.
Can you give the attached a try, and let me know how you get on, please.
by medelec35
Sun Dec 19, 2021 10:26 pm
Forum: Flowcode V7
Topic: Do I need Storage pack to use internal timer (FC9; PIC16F)
Replies: 3
Views: 3123

Re: Do I need Storage pack to use internal timer (FC9; PIC16F)

Hi Jan,
I have moved your post from Tips and tricks that is for only sharing your own tips.
We can resume this thread on the V9 forums, so other v9 users can benefit.
by medelec35
Thu Dec 16, 2021 12:50 pm
Forum: General Programming
Topic: How to do Pwm off and on in flowcode??
Replies: 9
Views: 7122

Re: How to do Pwm off and on in flowcode??

You're welcome.
It has been found that with some devices that PWM duty does not completely go to 0.
If that is the same as your target device, then Disable and Enable will be required.
Hopefully, that is not the case, but I thought I would make you aware of a possibility.
by medelec35
Wed Dec 15, 2021 3:54 pm
Forum: General Programming
Topic: How to do Pwm off and on in flowcode??
Replies: 9
Views: 7122

Re: How to do Pwm off and on in flowcode??

You can set the duty to 0 for PWM off.
No need to disable then:
PWM Burst.png
PWM Burst.png (45.39 KiB) Viewed 7118 times
by medelec35
Sun Dec 12, 2021 9:39 pm
Forum: Bug reports
Topic: Compile error msg from PIC16F15354 ADC
Replies: 11
Views: 13871

Re: Compile error msg from PIC16F15354 ADC

You're welcome.
I'm glad you are now sorted.
Thanks for letting us know.
by medelec35
Sun Dec 12, 2021 2:23 pm
Forum: Bug reports
Topic: Compile error msg from PIC16F15354 ADC
Replies: 11
Views: 13871

Re: Compile error msg from PIC16F15354 ADC

Hi Jan.
jadiflow wrote:
Sun Dec 12, 2021 11:03 am
go with the 16F15356, but then that should be fixed for the ADC stuff just as was done for the 16F15354;
I have fixed the 16F15356.
I will send you a PM about it.
by medelec35
Thu Dec 09, 2021 10:59 am
Forum: Bug reports
Topic: Compile error msg from PIC16F15354 ADC
Replies: 11
Views: 13871

Re: Compile error msg from PIC16F15354 ADC

Hi Jan. Thanks for letting me know the fix works. would it not be possible to do a fix for the whole 16F153xx family? Unfortunately, V7 is no longer officially supported. Therefore the rest of the 16F15xxx series will not be automatically updated. and convert that to string for displaying. In Flowco...
by medelec35
Wed Dec 08, 2021 2:17 pm
Forum: Bug reports
Topic: Compile error msg from PIC16F15354 ADC
Replies: 11
Views: 13871

Re: Compile error msg from PIC16F15354 ADC

Hi Jan, I have hopefully fixed the issue for you The PIC_CAL_ADC.c replaces the file within the \Flowcode 7\CAL\PIC folder. The 16F15354.fcdx replaces the file within the \Flowcode 7\FCD\PIC folder. A few observations on your flowchart. you have fServo_1 < 2.5 AND fServo_1 > -2.5 AND fServo_2 > 2.5 ...
by medelec35
Wed Dec 08, 2021 12:34 pm
Forum: Flowcode V7
Topic: Variable watch/modify window in FC7
Replies: 5
Views: 3599

Re: Variable watch/modify window in FC7

That's great!
Thanks for letting us know.
For other people who have the same problem, What was the issue and fix you did?
by medelec35
Wed Dec 08, 2021 9:47 am
Forum: User Components
Topic: EBM015 Magnetometer
Replies: 8
Views: 4857

Re: EBM015 Magnetometer

What about this breakout board for the LSM303D?
It is showing as in stock and it's supported by Flowcode.
You will need to read the datasheet and make sure it does what's required.
by medelec35
Sun Dec 05, 2021 10:59 pm
Forum: General Programming
Topic: switch debounce
Replies: 4
Views: 4624

Re: switch debounce

You're welcome.
The answer is yes.
I have never used external components for switch debounce. I have used both software methods for great reliability in my projects.
by medelec35
Sun Dec 05, 2021 10:10 pm
Forum: Flowcode V7
Topic: Variable watch/modify window in FC7
Replies: 5
Views: 3599

Re: Variable watch/modify window in FC7

hi Abhi,
I would not go that far, but thank you anyway. :)
by medelec35
Sun Dec 05, 2021 10:09 pm
Forum: General Programming
Topic: switch debounce
Replies: 4
Views: 4624

Re: switch debounce

Hi Bob. If you use the switch component, then that will have a debounce option within properties. The reason for debounce is because the microcontroller can so fast a switch detection, it will count the times the switch contacts have vibrated when the intention was just to detect a single switch eve...
by medelec35
Sun Dec 05, 2021 2:54 pm
Forum: Flowcode V7
Topic: Variable watch/modify window in FC7
Replies: 5
Views: 3599

Re: Variable watch/modify window in FC7

Hi Jan, The simulation debugger should appear as soon as you press the single-step F8 key. If it does not, the window could have accidentally been moved out of the monitor view area or merged with another panel e.g. 2D or 3D panel. While the simulation is paused, Select Debug menu, Show> Watch windo...
by medelec35
Wed Dec 01, 2021 10:37 pm
Forum: E-blocks
Topic: Bl0080 programmer
Replies: 13
Views: 5718

Re: Bl0080 programmer

That's great!
Is Everything is sorted for you now, regarding all the issues you mentioned in the first post?
by medelec35
Tue Nov 30, 2021 10:59 am
Forum: E-blocks
Topic: Bl0080 programmer
Replies: 13
Views: 5718

Re: Bl0080 programmer

Your licence was refreshed this morning and it does show you have C sim on it.
Can you reactivate your licence again from the Licensing, Manage and let us know if it's worked or not?
Power cuts can be a pain in the backside.
by medelec35
Mon Nov 29, 2021 10:04 pm
Forum: E-blocks
Topic: Bl0080 programmer
Replies: 13
Views: 5718

Re: Bl0080 programmer

Hi, I'm sorry to hear that.
I will send an email to a Matrix member of staff that may be able to help you further.
by medelec35
Mon Nov 29, 2021 8:48 pm
Forum: E-blocks
Topic: Bl0080 programmer
Replies: 13
Views: 5718

Re: Bl0080 programmer

Hi. Your welcome. I'm glad you have got the BL0011 to work now. Thank you for letting us know. the 6th pin is left open-circuit so is not used. There are 6pins to avoid misalignment which is a good idea since the ICSP programmer, normally have 6 pins. Still cant get csim available There is a post re...
by medelec35
Mon Nov 29, 2021 4:42 pm
Forum: E-blocks
Topic: Bl0080 programmer
Replies: 13
Views: 5718

Re: Bl0080 programmer

As for the board not programming. If you measure the voltage across ICSP pin 2 and GND and its 0V & there is 5V on the 5V terminal block, then could be an issue with the 5v/3v3 switch. Make sure it's fully in the correct position and you may have accidentally knocked it out from its original positio...
by medelec35
Sun Nov 28, 2021 10:27 pm
Forum: E-blocks
Topic: Bl0080 programmer
Replies: 13
Views: 5718

Re: Bl0080 programmer

So you can be helped out with your other issues. If you are using Flowcode V9 and you have forgotten your password for the forums, then you can reset it by going to here . Select Log in, then you will see: Forgotten your password? Click here to reset Then when you have logged in with the temporary p...
by medelec35
Sat Nov 27, 2021 4:19 pm
Forum: Flowcode V8
Topic: DND dice roller
Replies: 9
Views: 2470

Re: DND dice roller

You're welcome.
Thanks for letting us know.
by medelec35
Wed Nov 24, 2021 5:47 pm
Forum: Flowcode V8
Topic: 8 bit ADC Voltage measurement?
Replies: 16
Views: 11087

Re: 8 bit ADC Voltage measurement?

Hi, it is currently being looked into.
As soon as we have an answer, you will be notified.
by medelec35
Wed Nov 24, 2021 2:53 pm
Forum: Flowcode V8
Topic: DND dice roller
Replies: 9
Views: 2470

Re: DND dice roller

That is because you are calling a user macro (D4) and expecting a return value.
Within the call user macro, you must specify

Code: Select all

.Return
The

Code: Select all

.
means it's a local variable.
Just select the Locals icon and drag

Code: Select all

Return
or just type it in.
Your calculation should look like this:
Use Return.png
Use Return.png (41.34 KiB) Viewed 2346 times
by medelec35
Tue Nov 23, 2021 10:15 pm
Forum: Flowcode V8
Topic: 8 bit ADC Voltage measurement?
Replies: 16
Views: 11087

Re: 8 bit ADC Voltage measurement?

gilanetugila wrote:
Tue Nov 23, 2021 8:51 pm
Do you need this program in a different form? look in the attached files
The file required has the fcfx extension, which is your flowchart project file.