Search found 13467 matches

by Benj
Tue Sep 10, 2019 3:28 pm
Forum: Flowcode V8
Topic: USB Serial
Replies: 4
Views: 144

Re: USB Serial

Hello, The Arduino Uno just needs the UART component as the device does not host the USB connection itself and instead uses an external USB to serial IC. As for the Leonardo, Many thanks for letting me know. Investigating for you now. It looks like you just need to set the compiler options to allow ...
by Benj
Tue Sep 10, 2019 11:38 am
Forum: Flowcode V8
Topic: Capture Custom Interrupt Code
Replies: 5
Views: 122

Re: Capture Custom Interrupt Code

Hello,

The Timer component under Data might be an option for you to avoid CCP complications.

I'll have a look at your program for you.
by Benj
Tue Sep 10, 2019 11:30 am
Forum: Flowcode V8
Topic: Warnings when i use uart component
Replies: 2
Views: 94

Re: Warnings when i use uart component

Hello, discards 'volatile' qualifier Is a warning you can safely ignore. We tag variables as volatile to ensure that any changes to the variable value are written back to the variable location. We do the same thing for PIC16, PIC8 and AVR devices and these compilers do not generate the warnings. I'v...
by Benj
Fri Sep 06, 2019 1:46 pm
Forum: Flowcode V6
Topic: PWM Timer And CANBus PIN
Replies: 3
Views: 111

Re: PWM Timer And CANBus PIN

Hello,

I beleive both of these features are currently available in Flowcode 8.

You can use the 30-day trial to find out if version 8 is more suitable for your requirements.
by Benj
Tue Sep 03, 2019 1:25 pm
Forum: Flowcode V7
Topic: Setting up vNET
Replies: 5
Views: 155

Re: Setting up vNET

Hello,

Have you applied the latest updates, I beleive there was a vNet fix as part of the updates.
by Benj
Tue Sep 03, 2019 10:50 am
Forum: Flowcode V7
Topic: Setting up vNET
Replies: 5
Views: 155

Re: Setting up vNET

Hello,

Updates for v7.3 available here.
viewtopic.php?f=63&t=19743

V7 vNet example available here.
https://www.matrixtsl.com/wikiv7/index. ... 7bda03dc82
by Benj
Tue Sep 03, 2019 10:48 am
Forum: Flowcode V7
Topic: Missing Atmega328 Chip
Replies: 3
Views: 97

Re: Missing Atmega328 Chip

Hello,

I'll investigate for you in terms of getting a newer version of the compiler but looking at the v7 AVR compiler the 328PB device is not currently supported.
by Benj
Mon Sep 02, 2019 8:23 pm
Forum: Flowcode V8
Topic: Reset by software!
Replies: 3
Views: 159

Re: Reset by software!

Hi Jorgen

Add this line to the supplementary code window inside the project options.

void(* resetFunc) (void) = 0;

Then call the function in a c icon in your flowchart.

resetFunc();

I googled arduino software reset.
by Benj
Mon Sep 02, 2019 4:53 pm
Forum: Flowcode V7
Topic: Modbus (over RS485)
Replies: 2
Views: 85

Re: Modbus (over RS485)

Hi Docara,

The Modbus component running on a microcontroller uses the corresponding UART RXinterrupt to collect incoming comms data, therefore software channels are not enabled for the component.
by Benj
Mon Sep 02, 2019 10:48 am
Forum: Flowcode V8
Topic: HT16k33 8x8 led matrix question
Replies: 5
Views: 216

Re: HT16k33 8x8 led matrix question

Hello,

Can you post your program so we can have a look.
by Benj
Mon Sep 02, 2019 10:19 am
Forum: Flowcode V8
Topic: 18F87J50 - BMPDrawer Slow
Replies: 4
Views: 140

Re: 18F87J50 - BMPDrawer Slow

Hi Ash,

Are you using the PLL to multiply the microcontroller speed? 8MHz directly is pretty slow and would explain the slow display.
by Benj
Mon Sep 02, 2019 10:12 am
Forum: Flowcode V8
Topic: with gLCD_ST7565R_SPI1 only half of the display can be written
Replies: 2
Views: 198

Re: with gLCD_ST7565R_SPI1 only half of the display

Hello,

Sorry I'm having technical difficulties with my PC at the moment, here's an updated component you can try which now has editable pixel dimension properties.

Simply copy the file into your "C:\ProgramData\MatrixTSL\FlowcodeV8\Components" folder.

gLCD_ST7565R_SPI.fcpx
(11.44 KiB) Downloaded 12 times
by Benj
Fri Aug 30, 2019 10:50 am
Forum: Forums d'aide en français
Topic: Incapable de programmer un Arduino avec Flowcode v7.3.0.5
Replies: 14
Views: 640

Re: Incapable de programmer un Arduino avec Flowcode v7.3.0.5

Hello,

Please can you confirm the short path is valid for the folder.

Details of how to do this here.
https://superuser.com/questions/348079/ ... ctory-file
by Benj
Fri Aug 30, 2019 10:01 am
Forum: Flowcode V8
Topic: SPI read 216 Bit problem
Replies: 7
Views: 258

Re: SPI read 216 Bit problem

Hi Stefan, An SPI operation is bi-directional in that you always simultaneously read and write data at the same time. Usually only one of these is meaningful hence the read and write operations. So when you are reading data the SPI will be writing data too, 0x55 I believe. Do you need an alternative...
by Benj
Wed Aug 28, 2019 4:55 pm
Forum: Flowcode V8
Topic: ENC28J60 and 18F25K22 INT OSC 64 Mhz 4xPLL Problem
Replies: 4
Views: 170

Re: ENC28J60 and 18F25K22 INT OSC 64 Mhz 4xPLL Problem

Hi Sadik, I'll ask Leigh on q1, I know he has spent a lot of time working with the ENC module and could be something to do with supporting DHCP. If DHCP doesn't work then you may need to assign a static IP and then adjust your DHCP server so it doesn't assign that address in the address pool. Regard...
by Benj
Wed Aug 28, 2019 4:42 pm
Forum: Feature Requests
Topic: One Wire EEPROM (DS2431)
Replies: 2
Views: 165

Re: One Wire EEPROM (DS2431)

Hi Sadik,

I'll have a look for you, shouldn't be too tricky but the timings for 1-wire across all the various devices can be.
by Benj
Wed Aug 28, 2019 4:33 pm
Forum: Flowcode V8
Topic: Error in the "gLCD_ST7565R_SPI1" Component
Replies: 1
Views: 119

Re: Error in the "gLCD_ST7565R_SPI1" Component

Hello, On an AVR device if you use hardware SPI and leave the SS pin (B2 on your device) as an input then this can lockup the MCU. Either use B2 as your CS pin or as an output before you initialise the SPI component or use the software channel. This is a known and common problem with AVR devices and...
by Benj
Wed Aug 28, 2019 4:29 pm
Forum: Flowcode V8
Topic: Component "USB- Serial" does not work with Arduino Leonardo
Replies: 1
Views: 140

Re: Component "USB- Serial" does not work with Arduino Leonardo

Thanks for letting us know I'll look into this for you and see if I can find the cause of the problem.
by Benj
Wed Aug 28, 2019 4:27 pm
Forum: Flowcode V8
Topic: Capturing an array of data from I2C
Replies: 3
Views: 200

Re: Capturing an array of data from I2C

Hello, If you have a go with this sensor then please let us know how you get on. I bought one and then waited 2 months for it to arrive from the US, it never arrived and so I eventually got a refund. So I wrote the component but it's never been tested with actual hardware that I am aware of. I follo...
by Benj
Wed Aug 28, 2019 4:21 pm
Forum: Flowcode V8
Topic: with gLCD_ST7565R_SPI1 only half of the display can be written
Replies: 2
Views: 198

Re: with "gLCD_ST7565R_SPI1" only half of the display can be written to

Hello,

Do you have a link or datasheet for your display and I will investigate for you. Just want to check they are not doing anything strange like combining two driver chips together onto one display.
by Benj
Wed Aug 28, 2019 4:18 pm
Forum: Flowcode V6
Topic: pIC18F26K80 mystery
Replies: 2
Views: 207

Re: pIC18F26K80 mystery

Hi John, Is it just pin C5 that's not working? Have you confirms that the device is actually running. It could be that your current configuration settings are maybe not correct and the MCU is not running? I can't see much that would stop the pin from working correctly as an output. Can you post your...
by Benj
Wed Aug 28, 2019 4:13 pm
Forum: E-blocks
Topic: Future request
Replies: 4
Views: 285

Re: Future request

Hi Jan, In your pin numbering pin 10 is +V i.e. the voltage of the upstream MCU which is 5V or 3V3 or user selectable via a switch on the upstream board. We use this to convert incoming voltages so that they are correctly scaled to not damage the MCU. The other pins are to do with the 10F auto ID ch...
by Benj
Wed Aug 28, 2019 4:03 pm
Forum: Flowcode V5 Issues
Topic: Flowcode V5 has stopped working
Replies: 6
Views: 317

Re: Flowcode V5 has stopped working

Hello, This seems to be linked to a recent Windows update which has effected the VB components used by Flowcode 5 and previous. We have reports that another even more recent Windows update has fixed the problem. So maybe try and run Windows update and check for the latest updates. https://www.matrix...
by Benj
Wed Aug 28, 2019 3:58 pm
Forum: Bug Reports
Topic: 16F1937 8bit timer 2/4 & 6
Replies: 2
Views: 149

Re: 16F1937 8bit timer 2/4 & 6

Hi Martin, The rollover of 256 as the default is correct. The interrupt occurs when the count register goes from 255 to 0 e.g. the 256th count. 0 to 1 = count 1 1 to 2 = count 2 ... 254 to 255 = count 255 255 to 0 = count 256 We use the rollover value - 1 behind the scenes in the rollover register s...
by Benj
Wed Aug 28, 2019 3:50 pm
Forum: Flowcode V8
Topic: Latest version 8.0.2.13
Replies: 8
Views: 414

Re: Latest version 8.0.2.13

Hello, Downloaded .13 and install, work fine. But still nice to know when a newer version is out. :lol: :lol: Glad it's working correctly for you. The update I believe was a minor improvement to fix a bug relating to Hardware OpenGL support on very specific machines. We did not announce it as for mo...