Search found 13483 matches

by Benj
Mon Aug 19, 2019 4:53 pm
Forum: Bug Reports
Topic: FC8.2 PIC18LF67K40 I2C brocken
Replies: 4
Views: 291

Re: FC8.2 PIC18LF67K40 I2C brocken

Hi Igor,

Many thanks for chasing this one up. I have looked in the definition file and the chip was missing the remappable I2C support required by the hardware pins. This has now been added and pushed to the v8 update system so hopefully will now work correctly.

Let me know how you get on.
by Benj
Mon Aug 19, 2019 4:05 pm
Forum: Flowcode V7
Topic: GLCD with touch
Replies: 19
Views: 1782

Re: GLCD with touch

Hi Abhi, The software channel simply uses standard I/O pins to re-create the bus. It is slower then the hardware peripheral and requires the microcontroller to sit and create the bus. The hardware channels use the internal peripheral to create the bus. It will run without the microcontroller having ...
by Benj
Mon Aug 19, 2019 1:43 pm
Forum: Feature Requests
Topic: MQTT Component Authentication
Replies: 19
Views: 426

Re: MQTT Component Authentication

Hi James,

Thanks for confirming, this latest change has now been pushed to the update system.

Just in case you see the "updates are available" dialogue pop up.
by Benj
Mon Aug 19, 2019 1:02 pm
Forum: Flowcode V7
Topic: GLCD with touch
Replies: 19
Views: 1782

Re: GLCD with touch

Hello Abhi, Have you tried the change the SPI bus channel for the XPT2046 to Software and see if this makes any difference. Aha I see you've now managed to get past the lockup. Any idea what was causing this? Have you got a schematic or datasheet for the touch sensor on the display. Just to check if...
by Benj
Mon Aug 19, 2019 12:54 pm
Forum: Flowcode V8
Topic: How to use Rotary encoder with three outputs
Replies: 4
Views: 200

Re: How to use Rotary encoder with three outputs

Hello, Since I'm using it as an angle sensor, suppose the encoder rotates 45 degree clockwise and again by rotating counter-clockwise returns to its home position. Will the index provide a pulse for returning to its home without completing a full 360 deg rotation. Assuming you started from the index...
by Benj
Mon Aug 19, 2019 10:50 am
Forum: Flowcode V8
Topic: Compiler error with Leonardo
Replies: 2
Views: 147

Re: Compiler error with Leonardo

Hello,

Please see this topic for more info..
viewtopic.php?f=76&t=21420
by Benj
Mon Aug 19, 2019 10:13 am
Forum: Flowcode V8
Topic: Felermeldung 18F25J50 and USB
Replies: 2
Views: 138

Re: Felermeldung 18F25J50 and USB

Hello,

Thanks for letting us know. I believe I have fixed this problem now and pushed it to the update system.

Let me know how you get on.
by Benj
Mon Aug 19, 2019 9:59 am
Forum: E-blocks
Topic: HP1110 & HP4829 Boards
Replies: 1
Views: 154

Re: HP1110 & HP4829 Boards

Hi Steve,

You can find the boards here.
PIC -> Misc

StudentBoards.jpg
StudentBoards.jpg (63.62 KiB) Viewed 118 times


Yes the Itanium drivers will be required for server CPUs, however I believe the student and project board are HID devices and so do not require device drivers.

Visual studio 2019 should work fine with the VB examples.
by Benj
Fri Aug 16, 2019 4:40 pm
Forum: Flowcode V8
Topic: 18F67K40 UART Problem
Replies: 46
Views: 1437

Re: 18F67K40 UART Problem

Have you tried a single UART at a time?

Also

Is anything coming out of the TX pin? e.g. if you connect a LED does it flash or stay lit? Do you have access to a scope? Maybe it's working but at the wrong baud?
by Benj
Fri Aug 16, 2019 4:40 pm
Forum: Bug Reports
Topic: Flowcode closes...
Replies: 8
Views: 317

Re: Flowcode closes...

Hi Martin,

Hmm that's odd. can you try the suggestion here and see if that makes any difference.

viewtopic.php?f=78&t=21431#p96571
by Benj
Fri Aug 16, 2019 3:49 pm
Forum: Flowcode V8
Topic: 18F67K40 UART Problem
Replies: 46
Views: 1437

Re: 18F67K40 UART Problem

The UART registers look OK to me. The device does allow you to disable the peripheral clock and also the UART modules via the PMD0 and PMD5 registers. However the default for these should be enabled. You can check this will the following C code before you initialise the UARTs. PMD0 = 0; PMD5 = 0; Is...
by Benj
Fri Aug 16, 2019 12:02 pm
Forum: Flowcode V8
Topic: 18F67K40 UART Problem
Replies: 46
Views: 1437

Re: 18F67K40 UART Problem

Hello,

Right I believe I've fixed the timer 2, 4, 6, 8 issue now and pushed the update to the system.

Can you send us an example of your UART project and I'll have another look at this for you.
by Benj
Thu Aug 15, 2019 9:22 am
Forum: Bug Reports
Topic: Flowcode v8.2.1.13 freezes
Replies: 3
Views: 243

Re: Flowcode v8.2.1.13 freezes

Hi Lagoda, Hmm this sounds interesting. I'll see if I can replicate here. It might be worth trying to delete the folder "C:\ProgramData\MatrixTSL\FlowcodeV8" When you next start Flowcode it will restore the folder for you and hopefully get you back to the just installed state. Then maybe t...
by Benj
Tue Aug 13, 2019 4:56 pm
Forum: Feature Requests
Topic: LCD: Load any fonts.
Replies: 2
Views: 150

Re: LCD: Load any fonts.

Hi Martin, You can choose the font if you like however this only effects the simulation and may not be quite right with fonts that aren't a fixed width. Add the component debugger window. Check the Expose full component tree checkbox. In the properties window use the drop down at the top to select t...
by Benj
Tue Aug 13, 2019 4:51 pm
Forum: Flowcode V8
Topic: USB HID arduino leonardo
Replies: 12
Views: 465

Re: USB HID arduino leonardo

Great glad it's working for you now.

I think it was mainly down to the delay before the initialise to give the PC time to see the bootloader disconnect and the HID device connect.

The other delays are still required as the HID only transfers every 10ms.
by Benj
Tue Aug 13, 2019 1:06 pm
Forum: Flowcode V8
Topic: USB HID arduino leonardo
Replies: 12
Views: 465

Re: USB HID arduino leonardo

Hello,

I've made some minor changes to your program and it's now working well for me.

test flowcode 8 arduino leonardo 4 HID.fcfx
(9.95 KiB) Downloaded 23 times
by Benj
Tue Aug 13, 2019 12:56 pm
Forum: Flowcode V8
Topic: 18F67K40 UART Problem
Replies: 46
Views: 1437

Re: 18F67K40 UART Problem

Hello,

You are using the Heart macro for the timer interrupt and again inside your main loop.

Try this simple test instead, does this count up on the LED array, should be at approx 10Hz.

TimerTest.fcfx
(23.37 KiB) Downloaded 23 times
by Benj
Tue Aug 13, 2019 12:36 pm
Forum: 16-Bit PIC
Topic: Dspic30f4013
Replies: 6
Views: 266

Re: Dspic30f4013

Hello, I used your program to test my pic, even adding "\ n" at the end of each string sent to pic just printed as attachment. For the program to work you need to add "\n" no space between the slash and the n. This is an escape sequence carriage return. i.e. ASCII 10. You could c...
by Benj
Tue Aug 13, 2019 12:31 pm
Forum: Bug Reports
Topic: LCD showing wrong characters in Flowcode 8
Replies: 5
Views: 220

Re: LCD showing wrong characters in Flowcode 8

Hello,

Your program is working well here for me. What version of Windows are you using?

The LCD component uses the FixedSys font and so if you don't have this font available (which you should) then this could explain the problems you're having.

Font.jpg
Font.jpg (60.23 KiB) Viewed 159 times
by Benj
Tue Aug 13, 2019 12:24 pm
Forum: Flowcode V6
Topic: Print Ascii for LCD Component Macro Hello World
Replies: 6
Views: 268

Re: Print Ascii for LCD Component Macro Hello World

Hello, The PrintASCII function allows you to print a single ASCII character. for example. 'x' or 'A' or 'b' or '\n' The single quotes allow you to enter a single ASCII character and the compiler will convert this to the ASCII binary value. Flowcode v5 and previous used to allow you to enter strings ...
by Benj
Tue Aug 13, 2019 11:22 am
Forum: Flowcode V8
Topic: USB HID arduino leonardo
Replies: 12
Views: 465

Re: USB HID arduino leonardo

Thanks for letting me know.

I have replicated the problem here and will see if I can investigate why it's not working for you.
by Benj
Mon Aug 12, 2019 4:16 pm
Forum: Flowcode V8
Topic: USB HID arduino leonardo
Replies: 12
Views: 465

Re: USB HID arduino leonardo

Hi Kris, Many thanks for letting me know. I believe I have now tracked down the cause of the problem. I have updated the USB components and pushed the changes to the update system. Use the Help -> Check for updates menu to get the latest USB component updates. I have also updated the compiler batch ...
by Benj
Mon Aug 12, 2019 3:43 pm
Forum: Flowcode V8
Topic: 18F67K40 UART Problem
Replies: 46
Views: 1437

Re: 18F67K40 UART Problem

Hello, Thanks for getting back to me. Let's start with the timers. Do you have a simple program to test the timers I can look at? Just in case you have anything specific in your program that is causing a problem. Which timers have you tried? I'll have another pass through the generated code and the ...
by Benj
Mon Aug 12, 2019 3:37 pm
Forum: Flowcode V8
Topic: Wlan esp8266 (update) problem
Replies: 2
Views: 141

Re: Wlan esp8266 (update) problem

Hi Stefan,

Can you attach the program that is creating the errors and also paste the output of the compiler messages window so we can see the generated errors.

All compiling ok here for me with a very basic program.
by Benj
Mon Aug 12, 2019 12:33 pm
Forum: Flowcode V8
Topic: 18F67K40 UART Problem
Replies: 46
Views: 1437

Re: 18F67K40 UART Problem

Hello, So we are on the same lines what exactly isn't working that you would like me to investigate. From the looks of it UART comms is not working and timer interrupts are also not working? Is this correct? Just been through the chip definition and both Timer0 and Timer1 look ok. I've also been thr...