Search found 13185 matches

by Benj
Thu Apr 25, 2019 1:16 pm
Forum: Bug Reports
Topic: RPI modbus TCP
Replies: 8
Views: 443

Re: RPI modbus TCP

Hi James,

I've had a look at the program and coudn't see any major issues.

What are you using as the Master to generate the requests?
by Benj
Thu Apr 25, 2019 1:15 pm
Forum: Bug Reports
Topic: ILI9341 16bit It's not working
Replies: 6
Views: 126

Re: ILI9341 16bit It's not working

by Benj
Thu Apr 25, 2019 1:13 pm
Forum: Bug Reports
Topic: ILI9341 SPI It's not working
Replies: 2
Views: 21

Re: ILI9341 SPI It's not working

Hi Osta, Glad it's working now :D Change the screen dimension properties so that the entire display is cleared correctly on initialise, the width and height might need to be swapped. Then use the SetOrientation component macro to rotate the display to be the orientation you need. Use the Position ta...
by Benj
Wed Apr 24, 2019 4:58 pm
Forum: Flowcode V8
Topic: MS Excel to something Flowcode understands..
Replies: 10
Views: 136

Re: MS Excel to something Flowcode understands..

Hello,

Converting Excel formulas into C formulas is probably not that straightforward.

I would tackle a function or formula at a time and test it well then you can build up a library of functionality either in C or directly in Flowcode.
by Benj
Wed Apr 24, 2019 4:56 pm
Forum: Flowcode V8
Topic: Problem Compiling a Flowcode Project using SPI Slave module
Replies: 1
Views: 23

Re: Problem Compiling a Flowcode Project using SPI Slave module

Hello,

I have looked into this for you now and hope I have fixed the issue. The latest files on the update system should hopefully solve the problem for you.

Let me know how you get on.
by Benj
Wed Apr 24, 2019 4:55 pm
Forum: Bug Reports
Topic: compile error
Replies: 15
Views: 1089

Re: compile error

Looks like Leigh is suggesting a macro with a single byte based parameter named MessageNumber.
by Benj
Wed Apr 24, 2019 10:28 am
Forum: Flowcode V8
Topic: Microchip ATMega 324PB
Replies: 1
Views: 22

Re: Microchip ATMega 324PB

Hi Felix,

Looking at the compiler supported devices this device is not currently in the list. I'll look and see if there is a newer version of the compiler we could move to using.
by Benj
Wed Apr 24, 2019 10:23 am
Forum: Flowcode V6
Topic: Compile to chip
Replies: 2
Views: 42

Re: Compile to chip

Hi John,

Slow compile times are one of the reasons we moved away from the BoostC compiler used for 8-bit PIC devices in Flowcode 6. If you have an antivirus running which is actively checking the running compiler executable then this can make the problem a lot worse.
by Benj
Wed Apr 24, 2019 10:20 am
Forum: Bug Reports
Topic: compile error
Replies: 15
Views: 1089

Re: compile error

Hello, C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\internals.c: 76: (1250) could not find space (20 bytes) for variable _FCI_TMP_STR This message means you have run out of ram and the compiler cannot fit in all the variables. The TMP_STR variable is used to manipulate strings and can potentially be gott...
by Benj
Tue Apr 23, 2019 12:57 pm
Forum: General Programming
Topic: Help 7Segment Single x Quad
Replies: 5
Views: 101

Re: Help 7Segment Single x Quad

This should now work correctly. I basically added extra output icons to disable the segment after it has been displayed.

Volt_30_V_7SEGx4_SEP_F88.fcfx
(14.42 KiB) Downloaded 1 time
by Benj
Tue Apr 23, 2019 12:51 pm
Forum: General Programming
Topic: Help 7Segment Single x Quad
Replies: 5
Views: 101

Re: Help 7Segment Single x Quad

Thanks, Which version of Flowcode are you using?
by Benj
Tue Apr 23, 2019 10:04 am
Forum: Flowcode V8
Topic: Bug in 16F1454.fcdx
Replies: 9
Views: 145

Re: Bug in 16F1454.fcdx

Hello, I wonder why there are two different chips? If you don't need it don't use it. Microchip sells their chips by the millions, to large customers even a saving of a fraction of a penny may add up to thousands of pounds if the unit count is high enough. Hence the need for lots and lots of chips w...
by Benj
Tue Apr 23, 2019 9:55 am
Forum: General Programming
Topic: Help 7Segment Single x Quad
Replies: 5
Views: 101

Re: Help 7Segment Single x Quad

Hello AC,

Are you programming in Flowcode? If so which version and can you attach your program you are having problems with?

How is your circuitry configured? Can you attach a schematic?
by Benj
Tue Apr 23, 2019 9:52 am
Forum: Flowcode V8
Topic: bl0114 COMBO BOARD
Replies: 3
Views: 69

Re: bl0114 COMBO BOARD

Hi Gary,

Many thanks for letting us know. Should be all fixed for you now with the latest updates.
by Benj
Thu Apr 18, 2019 4:50 pm
Forum: User Components
Topic: C Code (asm)
Replies: 1
Views: 44

Re: C Code (asm)

Maybe try this instead.

Code: Select all

#asm
CLRF PORTG
BCF CM1CON, CON
CLRF LATG
BANKSEL ANCON2
MOVWF ANCON2
BANKSEL TRISG
MOVLW 0x04
MOVWF TRISG
#endasm
by Benj
Thu Apr 18, 2019 4:47 pm
Forum: Bug reports
Topic: Incorrectly calculating UART Baud Rate
Replies: 4
Views: 75

Re: Incorrectly calculating UART Baud Rate

Aha ok sorry I see. Yes slower baud rates will be tricky as we currently only use the 8-bit baud mode. You should be able to modify the registers using a C code icon to allow the lower baud rates. Call the C code after you have initialised the UART or the initialise will override the register values...
by Benj
Thu Apr 18, 2019 4:21 pm
Forum: Bug reports
Topic: Incorrectly calculating UART Baud Rate
Replies: 4
Views: 75

Re: Incorrectly calculating UART Baud Rate

Hello,

Please can you try the 1 second flasher test to see if everything is setup correctly.
https://www.matrixtsl.com/wikiv7/index. ... ED_flasher
by Benj
Thu Apr 18, 2019 4:01 pm
Forum: Flowcode V8
Topic: View ASM...
Replies: 4
Views: 121

Re: View ASM...

Hello,

The .as file is automatically generated by the XC8 compiler and so there should be a nice documented way of allowing this to be imported into MPLAB correctly. After all they are both tools from Microchip.
by Benj
Thu Apr 18, 2019 3:23 pm
Forum: 8-Bit PIC
Topic: ADC error
Replies: 3
Views: 62

Re: ADC error

Thanks Patrick,

I have replied with a fix for you to try.
by Benj
Thu Apr 18, 2019 12:55 pm
Forum: 8-Bit PIC
Topic: ADC error
Replies: 3
Views: 62

Re: ADC error

Hi Patrick,

Please can you attach your program I can't do much to investigate the issue without this.
by Benj
Thu Apr 18, 2019 12:17 pm
Forum: Flowcode V8
Topic: Servo motor
Replies: 6
Views: 161

Re: Servo motor

Hello,

Many thanks for letting us know.

I believe I have now found and fixed the problem and pushed the updated components to the v8 update system.

Let us know how you get on.
by Benj
Thu Apr 18, 2019 11:49 am
Forum: Bug Reports
Topic: RPI modbus TCP
Replies: 8
Views: 443

Re: RPI modbus TCP

Hi James,

Yes this issue has been resolved. Can you post your program and I'll have a look for you.
by Benj
Thu Apr 18, 2019 10:42 am
Forum: Flowcode V8
Topic: Bug in the SPI component with Arduino
Replies: 19
Views: 532

Re: Bug in the SPI component with Arduino

Hello, You should be able to select the component version in the update window. Just tick the "show up to date files" checkbox. The latest version should be version 3. RFID.jpg With the Arduino I can change the data to Clock Phase = Trailing Edge Clock Polarity = Idle High Sample Point = E...
by Benj
Thu Apr 18, 2019 10:37 am
Forum: Flowcode V8
Topic: View ASM...
Replies: 4
Views: 121

Re: View ASM...

Hello,

Flowcode 8 generates a .as file as part of the XC8 C compilation which you should be able to use in MPLAB. We dropped the view as assembler function from the menu as it was seldom used and not always available with every target chip type.
by Benj
Thu Apr 18, 2019 10:31 am
Forum: Flowcode V8
Topic: DHT11 not measuring, SampleSensor stays '1' and show no reply on LCD
Replies: 15
Views: 370

Re: DHT11 not measuring, SampleSensor stays '1' and show no reply on LCD

Hello, I have now rolled out the DHT11 changes to the DHT22 component and the Grove DHT22 component. I've also added some new properties to all the components to allow the clock adjustment to be manually controlled just in case it still has problems at certain clock speeds. I've now pushed the chang...