Search found 14581 matches

by Benj
Tue Mar 16, 2021 12:20 am
Forum: Flowcode V8
Topic: Replacing a Component
Replies: 4
Views: 2053

Re: Replacing a Component

Hello Abhi,

I detail the Selection -> Replace functionality here.

Let us know how you get on.
by Benj
Fri Mar 12, 2021 11:34 pm
Forum: Bug Reports
Topic: Problem with the I2C component in PIC32MX370F512H MCU
Replies: 11
Views: 5717

Re: Problem with the I2C component in PIC32MX370F512H MCU

Hello,

I've now pushed an update to the update system.

Hopefully it improves things for you with the I2C hardware channels but let me know how you get on.
by Benj
Fri Mar 12, 2021 11:26 am
Forum: Bug Reports
Topic: Problem with the I2C component in PIC32MX370F512H MCU
Replies: 11
Views: 5717

Re: Problem with the I2C component in PIC32MX370F512H MCU

Hello,

Sorry for the delay. I think I've spotted the problem, at least with channel 2 not being initialised and while I'm fixing that I'll see if I can find anything that is causing the problems for channel 1.
by Benj
Tue Mar 09, 2021 6:15 pm
Forum: Flowcode V8
Topic: 4-Wire Fan PWM
Replies: 24
Views: 7422

Re: 4-Wire Fan PWM

Hello, Not sure if this is a problem but you're using timer 2 for your interrupt and your PWM. They both have different overflow values 79 for the PWM vs 202 for the interrupt and the interrupt is called second and so will be overriding the PWM setting. Could this be the cause of the problem? You co...
by Benj
Wed Mar 03, 2021 11:37 am
Forum: Bug Reports
Topic: Problem with the I2C component in PIC32MX370F512H MCU
Replies: 11
Views: 5717

Re: Problem with the I2C component in PIC32MX370F512H MCU

Sorry reply was for a different topic :oops:

Thanks I'll have a look into the problem for you.
by Benj
Wed Mar 03, 2021 11:36 am
Forum: Flowcode V6
Topic: Windows 10 x64 EB006 v9 driver
Replies: 5
Views: 5488

Re: Windows 10 x64 EB006 v9 driver

Hello, Please can you try the driver file here. https://www.matrixtsl.com/mmforums/download/file.php?id=33109 Once you've downloaded the file, extract the files from the zip file into a folder and then right click the .inf file and select install from the menu. Hopefully this should be all that's re...
by Benj
Tue Feb 23, 2021 12:03 pm
Forum: Flowcode V7
Topic: Flowcode 7 - Updates Since 7.3
Replies: 23
Views: 44168

Re: Flowcode 7 - Updates Since 7.3

CAL - Code Abstraction Layer

bug: Some PIC ADC functions were missing the setup break statement for AN3 which meant bleeding into AN4 setup
by Benj
Mon Feb 22, 2021 10:41 pm
Forum: Flowcode V8
Topic: BL0011 Baud Rate problem
Replies: 6
Views: 2977

Re: BL0011 Baud Rate problem

Hello, That's very interesting thanks. The S character is very similar to the W character in terms of the binary value 0x53 compared to 0x57 which is only a single binary bit out. I'm curius to see if it's something to do with the flow control. If you turn it off do you still get the corruption occu...
by Benj
Mon Feb 22, 2021 1:35 pm
Forum: Flowcode V8
Topic: BL0011 Baud Rate problem
Replies: 6
Views: 2977

Re: BL0011 Baud Rate problem

Hello,

Please can you post your program or a simple program that deminstrates the problem and we will have a look for you.
by Benj
Tue Feb 16, 2021 12:36 pm
Forum: Flowcode V8
Topic: Modbus TCP, not supported component?
Replies: 2
Views: 1517

Re: Modbus TCP, not supported component?

Hello Mike, We keep a list of the network comms compatibility here. https://www.matrixtsl.com/wiki/index.php?title=Component:_Network_Communications_(Comms:_Networking)#Embedded_Components The BL0187 uses a ENC28J60 module from Microchip which is very capable but does not have it's own on-board TCP ...
by Benj
Thu Jan 28, 2021 5:49 pm
Forum: Flowcode V8
Topic: XPT2046 FC8
Replies: 3
Views: 2101

Re: XPT2046 FC8

Hi Jorgen,

Thanks for letting us know. Strange the hardware SPI wasn't working well for you. The SPI mode was setup wrong before so maybe this has been fixed via a recent component update?
by Benj
Thu Jan 28, 2021 11:36 am
Forum: Flowcode V8
Topic: PIC18F26K42 and UART
Replies: 9
Views: 5769

Re: PIC18F26K42 and UART

Hi Abhi, Many apologies for the delay in getting back to you. The K42 devices are known to have taken the rule book and ripped it up and started again. We have already encountered a number of problems with them to do with timers and I2C. I'll have a look at the UART functionality for you but I can't...
by Benj
Tue Jan 26, 2021 12:16 am
Forum: Flowcode V8
Topic: ili9341 font style??
Replies: 5
Views: 2627

Re: ili9341 font style??

Hello, Are you using the Standard or SPI version of the component? Might be worth trying the SPI version if you're not already and we can look at the prescaler for the SPI to make sure it's running as fast as possible. Also worth looking at the prescaler for the file component. Can you post your pro...
by Benj
Fri Jan 22, 2021 12:50 pm
Forum: Flowcode V7
Topic: ESP 8266, does not work
Replies: 3
Views: 4064

Re: ESP 8266, does not work

Hello, In the ESP8266 properties, maybe try changing the reset mode to hardware and adding the reset pin connection. Might be worth trying a larger recevie and scan buffer sizes. Can you say what exactly isn't working with the module? Some examples here that might help. https://www.matrixtsl.com/wik...
by Benj
Thu Jan 21, 2021 12:59 pm
Forum: Flowcode V8
Topic: Need help
Replies: 4
Views: 2903

Re: Need help flow code for counter push button 7 segment

Hello,

I suggest you have a go and post what you have and we can help point you in the right direction, we won't do the work for you.

Sounds like a fairly straight forward program. Check if switch is pressed if it is then adjust variable (within bounds), wait for switch to be released.
by Benj
Mon Jan 18, 2021 11:31 am
Forum: Flowcode V8
Topic: SSD1963 hardware not working properly
Replies: 44
Views: 26880

Re: SSD1963 hardware not working properly

Hello,

Been thinking about this a bit and I might make an addition to the touch component to allow you to calibrate it and filter the input. That should hopefully help a lot with the accuracy of the touch.
by Benj
Sun Jan 17, 2021 10:02 pm
Forum: Flowcode V8
Topic: Rotary encoder animation
Replies: 1
Views: 1240

Re: Rotary encoder animation

Hi Rod, This one is tricky, we added it for Flowcode 9 so you can link the encoder to the motor via a coupling or gearbox and then it just happens but it's not in for v8. Can you use the v9 trial to see if it does what you want. Doing it in v8 might be possible but it will likely mean adding some si...
by Benj
Sun Jan 17, 2021 10:00 pm
Forum: Flowcode V8
Topic: Simple switch edit
Replies: 4
Views: 2322

Re: Simple switch edit

Hello,

If you wish to reset the switch state then create an event macro for the Simulation start event using the Events tab of the project explorer.

Inside the macro use a calculation to set the following code and that should reset the state on run.

Sw_Pin = State
by Benj
Sat Jan 16, 2021 12:49 pm
Forum: Flowcode V8
Topic: Configure RC5 component (SOLVED).
Replies: 4
Views: 2254

Re: Configure RC5 component (SOLVED).

Excellent well done and thanks for letting us know :D
by Benj
Sat Jan 16, 2021 12:45 pm
Forum: Flowcode V8
Topic: ili9341 font style??
Replies: 5
Views: 2627

Re: ili9341 font style??

Hello

I'm afraid that Flowcode 8 cannot change the font but yes you can do this in v9. You could try the free trial and see if it does what you want.
by Benj
Fri Jan 15, 2021 5:02 pm
Forum: Flowcode V8
Topic: SSD1963 hardware not working properly
Replies: 44
Views: 26880

Re: SSD1963 hardware not working properly

Here's a v9 program with a test pattern and then a touchscreen test.
SSD1963-Test.fcfx
(16.21 KiB) Downloaded 225 times
Seems to be working ok but not brilliant. The touch is working but the coordinates aren't as perfect as I would like.

https://www.youtube.com/watch?v=IbGcEOVemLg
by Benj
Fri Jan 15, 2021 4:21 pm
Forum: Flowcode V8
Topic: SSD1963 hardware not working properly
Replies: 44
Views: 26880

Re: SSD1963 hardware not working properly

Yes the video showed me the way and I've now got the display fully working. LCD.jpg I've got the following connections to the display. D0-D7 Reset CS RD WR RS 3V3 5V GND I'm just rolling the fix to v8 and then I'll push the fixes onto the update system for v8 and v9. Many thanks for sending me the h...
by Benj
Fri Jan 15, 2021 3:58 pm
Forum: Flowcode V8
Topic: SSD1963 hardware not working properly
Replies: 44
Views: 26880

Re: SSD1963 hardware not working properly

Hello, Running on an ECIO40P16 I have the following. Aiming for this. SIM.jpg I get this. LCD.jpg so we are close. There seems to be an area after the initial half that's corrupted but then it's good again by the end. I'll investigate. That video you sent me looks like it's on the same track so hope...
by Benj
Fri Jan 15, 2021 1:10 pm
Forum: Flowcode V8
Topic: Simple switch edit
Replies: 4
Views: 2322

Re: Simple switch edit

Sorry spotted a bug in the Ev_Release macro.

Should be this.
bug.jpg
bug.jpg (44.75 KiB) Viewed 2278 times
Also another in GetSwitchState macro.
bug2.jpg
bug2.jpg (25.01 KiB) Viewed 2278 times
by Benj
Fri Jan 15, 2021 12:54 pm
Forum: Flowcode V8
Topic: Simple switch edit
Replies: 4
Views: 2322

Re: Simple switch edit

Hello,

I've made a simple example for you here which should do just about everything you need.
SwitchDemo.zip
(31.83 KiB) Downloaded 194 times
I've also started a bit of a write up here.
https://www.flowcode.co.uk/wiki/index.p ... mpleSwitch

Let me know how you get on.