Search found 6716 matches

by medelec35
Mon Aug 19, 2019 10:23 pm
Forum: Flowcode V8
Topic: LONG TIME TIMER
Replies: 5
Views: 71

Re: LONG TIME TIMER

Hi SILVESTROS9. I use external oscillator ( a crystal 16 MHz ). In that case: New setting for 16MHz.png about verylongdelays code ( at main ) in decision branch there is " if TimeUpFlag? "..... is this correct , or " if TimeUpFlag=1 ? Both are correct. If the value is left off, then i...
by medelec35
Mon Aug 19, 2019 1:37 pm
Forum: Flowcode V8
Topic: LONG TIME TIMER
Replies: 5
Views: 71

Re: LONG TIME TIMER

I have created the flowchart so you can change the time delay to what ever time you want. All you need to do is drag the TimeUpFlag = 1 calculation box from within the TimerISR call macro and place it within the Yes branch of If Seconds = 60 Then you only need to wait 1 minute. You will need to plac...
by medelec35
Sun Aug 18, 2019 8:46 pm
Forum: Flowcode V8
Topic: LONG TIME TIMER
Replies: 5
Views: 71

Re: LONG TIME TIMER

Hi SILVESTROS9, attached is a flowchart that sets a variable called TimeUpFlag to a value of 1 after 5 Days, 2 Hours, 3 minutes has elapsed. The variable can be used in conjunction with a decision branch. The time duration is set within TimerISR Macro. For this to work, the timer interrupt has to be...
by medelec35
Sat Aug 17, 2019 2:33 pm
Forum: General Programming
Topic: manage 32 bits
Replies: 5
Views: 91

Re: manage 32 bits

Hi maxtisc,
It would be more helpful If i know what the component is so I can access the full datasheet.
by medelec35
Sat Aug 17, 2019 2:30 pm
Forum: Flowcode V6
Topic: Rearranging flowchart connections
Replies: 6
Views: 81

Re: Rearranging flowchart connections

First of all you cant just have If 0 within your discussion branch. It will always be false and will Yes will never be accessed. Same as If you have If 1 Then It will always be true and will Yes will alwayss be accessed. what I do is within a decision branch , if I want to act on a zero value then I...
by medelec35
Sat Aug 17, 2019 12:57 pm
Forum: Flowcode V6
Topic: Rearranging flowchart connections
Replies: 6
Views: 81

Re: Rearranging flowchart connections

Hi Reverend,
If you can post a link to a video, or post some screen shots showing the steps you're taking, then we can see where the issue is?
by medelec35
Fri Aug 16, 2019 1:17 pm
Forum: General Programming
Topic: manage 32 bits
Replies: 5
Views: 91

Re: manage 32 bits

Hi maxtisc,
it was Ben Who created the macro, so I will see it I can help.
That was just an example.
What is the address you need to read from?
by medelec35
Fri Aug 16, 2019 8:09 am
Forum: General Programming
Topic: manage 32 bits
Replies: 5
Views: 91

Re: manage 32 bits

Hi maxtisc,
Attached is a Flowcode 8 macro that reads 32bits (4 lots of 8 bit registers) of FT810.
I believe your device would be read similar to FT810 as that too has only 8 bit words.
by medelec35
Thu Aug 15, 2019 10:50 am
Forum: Flowcode V6
Topic: Rearranging flowchart connections
Replies: 6
Views: 81

Re: Rearranging flowchart connections

Hi Rev, We have found no way to "pick up" and drag the "output branch" and drop it elsewhere in the flowchart. They definitely can be dragged or cut and pasted elsewhere within the flowchart. Just make sure the simulation has stopped first. Select the decision icon with the left ...
by medelec35
Thu Aug 15, 2019 7:26 am
Forum: User Components
Topic: Thermistor component Range
Replies: 8
Views: 144

Re: Thermistor component Range

Hi cortex. The calculation I used is: TemperatureFloatVariable = 1 / ((log (SeriesPullUpResistanceValue / (1024.0 / ADCIntVariable - 1) / ThermistorResistanceAt25C)) / BetaValue + 1 / (25 + 273.15)) - 273.15 Where it does not state a variable type, I have used Constants. Note: The .0 in 1024.0 is vi...
by medelec35
Wed Aug 14, 2019 8:22 pm
Forum: Flowcode V6
Topic: PIC18F26K80 not working in the real world
Replies: 6
Views: 125

Re: PIC18F26K80 not working in the real world

Hi John,
Wow six seconds is a huge difference!
Have you tried enabling pllen via osctune register?
Also for 64 MHz , I believe the osccon value has to be 0x70
by medelec35
Tue Aug 13, 2019 5:22 pm
Forum: Feature Requests
Topic: LCD: Load any fonts.
Replies: 2
Views: 56

Re: LCD: Load any fonts.

Very useful, that's just what I'm after.
Thank you Ben.
by medelec35
Tue Aug 13, 2019 2:53 pm
Forum: Feature Requests
Topic: LCD: Load any fonts.
Replies: 2
Views: 56

LCD: Load any fonts.

Looking at this thread, got me thinking.
I would be nice if we could choose the font to use.
Is that doable?
by medelec35
Tue Aug 13, 2019 2:50 pm
Forum: Bug Reports
Topic: LCD showing wrong characters in Flowcode 8
Replies: 5
Views: 116

Re: LCD showing wrong characters in Flowcode 8

Working OK for me as well:
LCD1.png
LCD1.png (34.07 KiB) Viewed 54 times
by medelec35
Tue Aug 13, 2019 2:40 pm
Forum: User Components
Topic: Thermistor component Range
Replies: 8
Views: 144

Re: Thermistor component Range

Hi cortex, I'm glad you have figured out your issue. If you had not, then I have got a calculation that works with Flowcode and is a single calculation. I will post my calculation if interested? If interested I can still upload the flowchart here Yes please, as it will be handy for anyone else who h...
by medelec35
Mon Aug 12, 2019 9:05 pm
Forum: User Components
Topic: Thermistor component Range
Replies: 8
Views: 144

Re: Thermistor component Range

What is the formula you used for thermistor? Best to upload your flowchart. I'm using a formula that works for any value of pull-up and thermistor value. It seems to be nice and accurate. I can check your formula for 4k7 with your themistor. You will need to state thermistor value at 25C and Beta fo...
by medelec35
Sun Aug 11, 2019 6:23 pm
Forum: General Programming
Topic: pic 8 bit reference book
Replies: 3
Views: 134

Re: pic 8 bit reference book

Hi Bob,
You're welcome.
For the Microchip site,
I would recommend:
Pic Selection1.png
Pic Selection1.png (11.12 KiB) Viewed 103 times
by medelec35
Sun Aug 11, 2019 6:18 pm
Forum: Flowcode V7
Topic: FLOWCODE7 PACKS
Replies: 1
Views: 67

Re: FLOWCODE7 PACKS

Probably best to contact sales.
by medelec35
Sun Aug 11, 2019 10:57 am
Forum: Flowcode V8
Topic: PWM signal < 10 HZ
Replies: 8
Views: 146

Re: PWM signal < 10 HZ

Hi
I'm running 8.2.0.12 in which patch was downloaded from here
What I do every so often is while I have a flowchart open, Select Help, Check for updates.
Change Files in-use to Full database

So long as you are running 8.2 there will be no issues with not working due to version differences
by medelec35
Sat Aug 10, 2019 10:56 pm
Forum: General Programming
Topic: pic 8 bit reference book
Replies: 3
Views: 134

Re: pic 8 bit reference book

Hi Bob,
What about scrolling down on this page?
Or here?
by medelec35
Sat Aug 10, 2019 8:44 pm
Forum: Flowcode V8
Topic: PWM signal < 10 HZ
Replies: 8
Views: 146

Re: PWM signal < 10 HZ

No problem.
Are you using internal or external osc and at what frequency?
If you are not fussed, then I created a quick example with internal OSC at 16MHz
It may be best to complete a 1sec flasher test to make sure chip is running at the correct osc speed.
by medelec35
Sat Aug 10, 2019 1:13 pm
Forum: Flowcode V8
Topic: PWM signal < 10 HZ
Replies: 8
Views: 146

Re: PWM signal < 10 HZ

Hi xelites,
Sorry I did not know the link is broken.
I can create an example flowchart for you.
What would be your preferred frequency?
by medelec35
Sat Aug 10, 2019 11:19 am
Forum: Flowcode V8
Topic: PWM signal < 10 HZ
Replies: 8
Views: 146

Re: PWM signal < 10 HZ

Hi xelites,
I have answered a similar question here
by medelec35
Sat Aug 10, 2019 8:51 am
Forum: Flowcode V6
Topic: PIC18F26K80 not working in the real world
Replies: 6
Views: 125

Re: PIC18F26K80 not working in the real world

Hi John, are you using internal or external osc? When staring a project the very first thing I always do is a one second flasher Rather than LED's, I prefer to measure the actual on time of a pulse with an oscilloscope (usually at 10ms). If not got a scope then LED's at 1 second are good enough. Hav...
by medelec35
Fri Aug 09, 2019 7:51 am
Forum: Feature Requests
Topic: Com-Port Interrupt in the Simulation
Replies: 2
Views: 95

Re: Com-Port Interrupt in the Simulation

Hi Christina, Not ideal I know, but what I do is use the Is Sim in the Runtime menu. Then you can set up a yes branch to call the UART interrupt macro. It will be called during simulation only. The hardware will not be affected. This, of course, is only useful if adding characters via the console. A...