Search found 6767 matches

by medelec35
Fri Oct 18, 2019 1:11 pm
Forum: Flowcode V8
Topic: 18F27K40 Silicon issue.
Replies: 7
Views: 98

Re: 18F27K40 Silicon issue.

Thanks Leigh, I have opened a case with microchip.
If they are able to resolve this then I will post the solution within this topic.
by medelec35
Fri Oct 18, 2019 10:44 am
Forum: Flowcode V8
Topic: 18F27K40 Silicon issue.
Replies: 7
Views: 98

Re: 18F27K40 Silicon issue.

I could not see TBLRD within the generated C code, but I do use strings. I'm not sure if TBLRD is used under the hood or not? Unfortunately, I have little experience with this silicone bug. Me neither. Trouble is my project has a lot of functions and even using the professional version of XC8 compil...
by medelec35
Fri Oct 18, 2019 10:20 am
Forum: Bug Reports
Topic: PIC18F27K42
Replies: 0
Views: 14

PIC18F27K42

Errors with UART component: C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\PIC\PIC_CAL_UART.c:408:1: error: (192) undefined identifier "TXSTAbits" C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\PIC\PIC_CAL_UART.c:408:16: error: (196) struct/union required C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\PIC\PIC_...
by medelec35
Fri Oct 18, 2019 8:42 am
Forum: Flowcode V8
Topic: 18F27K40 Silicon issue.
Replies: 7
Views: 98

Re: 18F27K40 Silicon issue.

Hi Lagoda,
In my case it has not made any difference by adding a C code block with

Code: Select all

asm ("BSF NVMCON1, 7");

I appreciate the reply.
by medelec35
Fri Oct 18, 2019 5:11 am
Forum: Flowcode V8
Topic: 18F27K40 Silicon issue.
Replies: 7
Views: 98

Re: 18F27K40 Silicon issue.

Hi Lagoda,
Thank you for your reply.
It's worrying you had to switch in the end as that what I may need to do.
Hopefully it won't come to that.
I will try the solution you posted, and post an update a bit later this morning.
by medelec35
Thu Oct 17, 2019 3:42 pm
Forum: Flowcode V8
Topic: 18F27K40 Silicon issue.
Replies: 7
Views: 98

18F27K40 Silicon issue.

I have a developed a touch screen heating controller. Development uses DIP version of 18F27K40 which has silicon rev a003 which works perfect. Prototype production uses SMD but the silicon version is a002 which does not work perfect. The touch screen uses SPI via FT810. It can't be a PCB or other co...
by medelec35
Wed Oct 16, 2019 9:53 pm
Forum: Flowcode V8
Topic: INTERRUPT PROBLEM
Replies: 2
Views: 63

Re: INTERRUPT PROBLEM

Hi Wayne,
If the interrupts are causing an issue during simulation, then you can use the Is Sim component.
I have attached an example.
Just keep pressing single step (F8) to start and run.
by medelec35
Wed Oct 09, 2019 7:27 am
Forum: Flowcode V8
Topic: LEDs and LED Array not simulating correctly 8.2.1.13
Replies: 6
Views: 556

Re: LEDs and LED Array not simulating correctly 8.2.1.13

Hi MJU, Currently, only non-exe files can be updated within Flowcode via Help , Check for updates . To upgrade, you will need to uninstall 8.2.0, and download 8.2.1 from here Then it's up to you if you download 8.2.1.13 from the zip file on the first post. I would suggest after installing the latest...
by medelec35
Sun Oct 06, 2019 11:44 am
Forum: Flowcode V8
Topic: Flowcode V6 -> V8
Replies: 12
Views: 478

Re: Flowcode V6 -> V8

Hi Abhi After loading Flowchart in V8, you could go to the Macros menu and Export every call function macro. Delete every call function macro. with all call macros deleted, debug Main macro then import (Macro , Import ) one macro at a time and make sure its bug free before importing the the next mac...
by medelec35
Sun Oct 06, 2019 12:15 am
Forum: General Programming
Topic: Problem reading 10-bit ADC on 12F675 PIC
Replies: 3
Views: 238

Re: Problem reading 10-bit ADC on 12F675 PIC

Hi Oderlando.
You have got:

Code: Select all

Count_Interrupt = 1953

Yet, Count_Interrupt has been assigned as a Bool which can only be 0 or 1:
Count_Interrupt Variable.png
Count_Interrupt Variable.png (4.31 KiB) Viewed 227 times

Therefore ADC will never be read.

Also the interrupt assign must only be activated once, so it needs to be placed before the main loop.
by medelec35
Thu Oct 03, 2019 1:06 pm
Forum: Flowcode V8
Topic: BL0032 windspeed
Replies: 37
Views: 963

Re: BL0032 windspeed

The component of the series from Eblocks2 BL083 Relay Do you mean BL0183? If so, it does not require a component within Flowcode. It just requires a single output pin for each relay. Output high = relay energised Output low = relay de-energised The Elocks2 datasheet shows the connections: BL0183 Ci...
by medelec35
Thu Oct 03, 2019 11:03 am
Forum: Flowcode V8
Topic: BL0032 windspeed
Replies: 37
Views: 963

Re: BL0032 windspeed

Hi Monie, I imagined that while holding down the keypad 11, pressing KeyPress 10 for 5 sec long press. With this does not work ? Personally, if it was me, I would not try and press 2 keys at once. I would have short key press for one function and long key press (.5 second and over) for a different f...
by medelec35
Thu Oct 03, 2019 8:09 am
Forum: Flowcode V8
Topic: BL0032 windspeed
Replies: 37
Views: 963

Re: BL0032 windspeed

I Have changed Count variable to an Int, so you can have greater long key press times. [b] Where should I enter the codes by pressing KeyPress 11 and long pressing KeyPress 10 (5 sec long press)? Function for long press 10 was added to the flowchart already, so you will need to drag from Long press ...
by medelec35
Wed Oct 02, 2019 7:52 pm
Forum: Flowcode V8
Topic: BL0032 windspeed
Replies: 37
Views: 963

Re: BL0032 windspeed

Try attached flowchart on hardware as it won't simulate well.
You will need to add the functions required for long press.
Long press function should work if key is pressed for .5 sec or longer.
by medelec35
Tue Oct 01, 2019 5:19 pm
Forum: Flowcode V8
Topic: BL0032 windspeed
Replies: 37
Views: 963

Re: BL0032 windspeed

Personally, if it was me, I would not try and press 2 keys at once.
I would have short key press for one function and long key press (.5 second and over) for a different function using the same key.
At least then with 12 keys you can have numbers 0 to 9 and 14 additional functions!
by medelec35
Tue Oct 01, 2019 3:07 pm
Forum: Flowcode V8
Topic: BL0032 windspeed
Replies: 37
Views: 963

Re: BL0032 windspeed

I'm not sure why you will need to read the keypad again with

Code: Select all

 Keypad = keypad_EB014::GetNumber()

You can remove that and just use the Press Variable?
by medelec35
Tue Oct 01, 2019 12:48 pm
Forum: Flowcode V8
Topic: BL0032 windspeed
Replies: 37
Views: 963

Re: BL0032 windspeed

Monie Jacobsen wrote:It just works now

Thanks for letting me know, I was not sure without hardware to test it on.
The flowchart is just relying on the fact that two keys are never pressed and released within a few microseconds of each other.
by medelec35
Tue Oct 01, 2019 12:43 pm
Forum: Flowcode V8
Topic: BL0032 windspeed
Replies: 37
Views: 963

Re: BL0032 windspeed

Looking at the first loop,it has now been made redundant.
All you need is:
Dual Keypress.png
Dual Keypress.png (49.09 KiB) Viewed 445 times
by medelec35
Tue Oct 01, 2019 12:22 pm
Forum: Flowcode V8
Topic: BL0032 windspeed
Replies: 37
Views: 963

Re: BL0032 windspeed

Not sure what you are saying, but I have modified your flowchart.
by medelec35
Tue Oct 01, 2019 11:19 am
Forum: Flowcode V8
Topic: BL0032 windspeed
Replies: 37
Views: 963

Re: BL0032 windspeed

Hi Monie,
I have no idea if attached will work.
Can you let me know please?
by medelec35
Tue Oct 01, 2019 10:22 am
Forum: Bug Reports
Topic: Flowcode closes...
Replies: 10
Views: 544

Re: Flowcode closes...

Looks like this issue is not confined just to windows 10.
I just clicked on the X of a Flowchart and got:
Windows 7 Shutdown.png
Windows 7 Shutdown.png (38.73 KiB) Viewed 141 times

Windows 7 64 bit version - 6.1.7601 Service Pack 1 Build 7601
by medelec35
Tue Oct 01, 2019 9:23 am
Forum: Flowcode V8
Topic: Flowcode V6 -> V8
Replies: 12
Views: 478

Re: Flowcode V6 -> V8

Hi Abhi, Via PM: Kindly correct me if I have not understood you well, - never call a MACRO from interrupt Correct. You also can't have the same functions within interrupts as outside interrupts. E.g MOD, delays, components with delays etc. - set/reset a flag within the interrupt for "that funct...
by medelec35
Mon Sep 30, 2019 8:18 pm
Forum: Flowcode V8
Topic: Flowcode V6 -> V8
Replies: 12
Views: 478

Re: Flowcode V6 -> V8

Hi Abhi, You are welcome. I'm afraid there are serious issues with your flowchart that is correctly flagging up warnings. You are calling the same functions (Call macros) from the interrupt macro and from within other functions. For example. You are calling from within interrupt AM_LED_OFF You are a...
by medelec35
Mon Sep 30, 2019 11:12 am
Forum: Flowcode V8
Topic: BL0032 windspeed
Replies: 37
Views: 963

Re: BL0032 windspeed

I have just looked at your flowchart.
You are using INT2 and it does have a remap option, so you can select RB0 to RB15 etc.