Search found 14427 matches

by Benj
Wed Mar 03, 2021 11:37 am
Forum: Bug Reports
Topic: Problem with the I2C component in PIC32MX370F512H MCU
Replies: 3
Views: 82

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: 3
Views: 79

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: 19466

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: 243

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: 243

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: 107

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: 165

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: 400

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: 285

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: 384

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: 302

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: 43
Views: 2404

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: 112

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: 276

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: 273

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: 285

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: 43
Views: 2404

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 19 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: 43
Views: 2404

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: 43
Views: 2404

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: 276

Re: Simple switch edit

Sorry spotted a bug in the Ev_Release macro.

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

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 23 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.
by Benj
Fri Jan 15, 2021 12:16 pm
Forum: Flowcode V8
Topic: Configure RC5 component (SOLVED).
Replies: 4
Views: 273

Re: Configure RC5 component.

Hello Puiu,

The PWM should be taken care of for you, you don't need a seperate PWM component in your program.

You do however need to use the PWM and TX pins on seperate pins on the MCU.

The pins then need to be connected together using a diode as shown here.
RC5_TX.jpg
RC5_TX.jpg (9.18 KiB) Viewed 243 times
Hope this helps.
by Benj
Fri Jan 15, 2021 12:02 pm
Forum: Feature Requests
Topic: Adjustable periodic waveform generator on PIC12F1612
Replies: 3
Views: 290

Re: Adjustable periodic waveform generator on PIC12F1612

Hello,

You can alter the timer rollover value using a C icon.

Here is the current setting.

Code: Select all

PR2=125-1;
by Benj
Tue Jan 12, 2021 4:09 pm
Forum: Bug Reports
Topic: Clock setting
Replies: 3
Views: 207

Re: Clock setting

Hi Martin,

Thanks for letting us know, that's certainly a strange one. I'll pass this onto Steve so he is aware of it.
by Benj
Tue Jan 12, 2021 4:08 pm
Forum: Flowcode V7
Topic: Not enough space for programming
Replies: 4
Views: 2272

Re: Not enough space for programming

Hello, The PIC16F1509 IC has 512 bytes of RAM available however the SSD1306 I2C at full resolution 128 x 64 will require ( (128 * 64) / 8 ) = 1K of RAM memory to buffer the display contents. Hence the compilation errors. You could try and reduce the pixel height to say 16 pixels and that should allo...