Search found 11 matches

by planeri
Mon Sep 16, 2019 8:19 pm
Forum: Flowcode V8
Topic: C CODE TO FC8 CONVERSION
Replies: 2
Views: 2267

Re: C CODE TO FC8 CONVERSION

As Jan said, I don't think there is a direct way to do what you want. string.h and stdio.h libraries are included automatically by Flowcode in internals.c, but the best way to include specific code from the msp430f5132 mixed-signal micro controller is to create your own customized component, add the...
by planeri
Mon Sep 16, 2019 4:10 pm
Forum: Flowcode V8
Topic: Simulate Flowcode 8 output in Proteus
Replies: 2
Views: 2127

Re: Simulate Flowcode 8 output in Proteus

Hi! You only need to right click the mcu in your schematic, choose "edit properties" and select the source file generated by flowcode in "program file". If you choose the .hex file you can run the simulation, but you won't be able to add breakpoints or simulate step by step, but with the .cof file y...
by planeri
Fri Sep 13, 2019 3:00 pm
Forum: Flowcode V8
Topic: KS0108 gLCD working slowly
Replies: 7
Views: 3569

Re: KS0108 gLCD working slowly

Hi, Ben! I'm pretty sure that the clock configuration is fine. I attached the following files to help you look at my program: - gLCD Test.rar: It includes all the Flowcode project files, a folder with images and a Proteus simulation project. The program displays a welcome screen, then displays a sec...
by planeri
Tue Sep 10, 2019 9:54 pm
Forum: Flowcode V8
Topic: KS0108 gLCD working slowly
Replies: 7
Views: 3569

KS0108 gLCD working slowly

Hi! I'm trying to use a monochrome 128 x 64 gLCD (Winstar WG12864A) with the KS0108 component and a PIC18F4620 with 20 MHz osc. In simulation it works perfect but in hardware or Proteus it refreshes abnormally slow. With the Bitmap Drawer ROM component the images appears slowly, shifting from bottom...
by planeri
Wed Aug 22, 2018 8:29 pm
Forum: Flowcode V8
Topic: Using vNet injector in FC8
Replies: 10
Views: 6487

Re: Using vNet injector in FC8

Benj wrote:I'll have a comb through and see if I can find out what's gone wrong as well as some working examples for you to play with.
Thanks,I hope you can solve it! Those examples will surely come in handy! :D
by planeri
Wed Aug 22, 2018 12:13 am
Forum: Flowcode V8
Topic: Using vNet injector in FC8
Replies: 10
Views: 6487

Using vNet injector in FC8

I was searching for examples using the vNet injector in Flowcode 8, but every video or fcfx file I found was from previous releases. I see this particular function has seen some changes: before you should run Flowserver executable, go to the vNet menu in Flowcode, create a new vNet with a particular...
by planeri
Sat Aug 18, 2018 12:13 am
Forum: General Programming
Topic: Using internal configuration registers & particular types of variables
Replies: 9
Views: 7151

Re: Using internal configuration registers & particular types of variables

Well, I deployed my code to the PIC (TMR1_INT_ex1.fcfx with some extra code to make a buzzer sound every 10 seconds) with the custom TMR1 interrupt set to exactly 100 ms and it works perfect. It can also be simulated (despite the fact that you can't see the registers in the simulation debugger) to s...
by planeri
Thu Aug 09, 2018 6:52 pm
Forum: General Programming
Topic: Using internal configuration registers & particular types of variables
Replies: 9
Views: 7151

Re: Using internal configuration registers & particular types of variables

Thanks for the replies, the UART RX interrupt example will surelly come in handy! I was trying a few things about the customized TMR1 interrupt, but I'm a little dissapointed at the fact that it can´t be properly simulated. For me, the posibility to simulate without the need to deploy to hardware is...
by planeri
Tue Aug 07, 2018 3:38 pm
Forum: General Programming
Topic: Using internal configuration registers & particular types of variables
Replies: 9
Views: 7151

Re: Using internal configuration registers & particular types of variables

Hi! I can assure that the interrupts that FC integrates by default work perfectly well in simulation. In fact, I just replaced the custom interrupt icon for a TMR1 standard icon and the program reaches the interrupt macro with no problems at all. What strikes me the most is that the information in t...
by planeri
Tue Aug 07, 2018 12:18 am
Forum: General Programming
Topic: Using internal configuration registers & particular types of variables
Replies: 9
Views: 7151

Re: Using internal configuration registers & particular types of variables

Thanks for the replies! I've tried to create a custom interrupt for TMR1 but it doesn't seem to work in the simulation. This are the enable and handler codes I used: Enable Code: TMR1H = 0xCF; // 100 ms: TMR1L = 0x2C; T1CON = 0x35; // T1CKPS 1:8; T1OSCEN disabled; TMR1CS FOSC/4; nT1SYNC do_not_synch...
by planeri
Fri Aug 03, 2018 12:17 am
Forum: General Programming
Topic: Using internal configuration registers & particular types of variables
Replies: 9
Views: 7151

Using internal configuration registers & particular types of variables

Hi, guys! I'm completely new to Flowcode and I'm evaluating to start working with the program to facilitate the development and updating of firmwares. So far, I've downloaded the Flowcode v8 demo version yesterday and I'm very pleased at the many features I found. I'm familiar with other flowchart b...