Search found 13543 matches

by Benj
Fri Jan 05, 2007 10:43 am
Forum: Flowcode V2 & V3
Topic: Have i found a glitch or not
Replies: 4
Views: 2527

Hello Goldwingers The Digital I/O ports were designed as tri state input / output logic. Flowcode takes this into account and makes sure that the Tris registers stay up to date. Eg when reading from the switch the port is configured as an input. When writing to LEDs the port is configured as an outp...
by Benj
Thu Jan 04, 2007 11:11 am
Forum: Flowcode V2 & V3
Topic: Keypad
Replies: 5
Views: 3194

Hello Goldwingers To add these 4 variables together you need to create a string of at least 4 characters. Then you can use the string manipulation functions to chop and change the variable as needed. To put data into the EEPROM that does not get reset when the PICmicro is reset or loses power, put t...
by Benj
Wed Jan 03, 2007 10:57 am
Forum: Flowcode V2 & V3
Topic: Serialstring on one pin of the 16F84
Replies: 10
Views: 4427

I can see why your compiler is throwing up errors. This C code you are using is obviously from some kind of smart compiler which uses code to drive the PICmicros UART device. Since the PICmicro your using (16F84) has no UART device the only way you will be able to send or recieve the serial data is ...
by Benj
Wed Jan 03, 2007 10:43 am
Forum: Flowcode V2 & V3
Topic: Keypad
Replies: 5
Views: 3194

Hello Goldwingers 1. A simple flowchart to read in the number from the keypad. This is a decimal value and not the ascii value of the decimal. Below is an example in Psudo code which should convert straight to flowcode. Component Macro Init LCD Display While 1 { Component Macro Clear LCD Component M...
by Benj
Tue Jan 02, 2007 3:52 pm
Forum: C and ASM Programming
Topic: how do i go about connecting usb bluetooth to PIC ?
Replies: 7
Views: 6100

Hi Phatali Thats a tricky one! I guess what you need to do is to try to emulate what the PC host is doing on the PIC. This will probably include: Initializing the Bluetooth dongle setting up the Address Looking for the remote address Pairing with the remote address Starting a service with the remote...
by Benj
Tue Jan 02, 2007 12:36 pm
Forum: Flowcode V2 & V3
Topic: Code macro and performance
Replies: 4
Views: 2685

BoostC will warn of possible call stack overflows. This may not be the case when using Interrupts etc when the software can be called to another level on the stack at any one time. One or two levels should always be saved for each interrupt that is being used. This helps to create crash proof and r...
by Benj
Tue Jan 02, 2007 12:33 pm
Forum: Flowcode V2 & V3
Topic: EEprom doubts
Replies: 8
Views: 4718

Using flowcode V3 is should be possible to place the EEPROM value straight into the memory. You have to keep in mind that you use the advanced configuration of PPP to unlock the writing of the EEPROM when you download your initial code. Any further code must the be programmed after first making sure...
by Benj
Tue Jan 02, 2007 12:26 pm
Forum: Flowcode V2 & V3
Topic: flowcode V3 problem
Replies: 6
Views: 3772

I have looked into your missing right paren and have taken out a few of the errors. Here is an example of what you had in a C code block. asm { bcf STATUS,RP0 } asm:CHKWRT3335 asm { btfss PIR2,EEIF goto CHKWRT3335 } To fix the error I changed the code to asm { bcf STATUS,RP0...
by Benj
Tue Jan 02, 2007 12:13 pm
Forum: Flowcode V2 & V3
Topic: flowcode V3 problem
Replies: 6
Views: 3772

The missing right paren error is ocuring after a block of assembler code. I will have a look into why this is happening.
by Benj
Tue Jan 02, 2007 12:10 pm
Forum: Flowcode V2 & V3
Topic: Where's MEM USAGE MAPP in V3 ?
Replies: 4
Views: 2685

Hello Jerry I think there is a similar table in the .stat file. This tells you each of the macros present in the program and how much memory each of them takes. Also in the compilation wondow of flowcode you get a memory useage table similar to the following Memory Usage Report =================== R...
by Benj
Tue Jan 02, 2007 10:42 am
Forum: Flowcode V2 & V3
Topic: Parameters not passed to v3 from v2 ( rs232 )
Replies: 2
Views: 2025

Hi Jerry

Again this must just be a difference in the V2 and V3 compilers. Therefore the RS232 module was probably changed slightly. We will look into this error.
by Benj
Tue Jan 02, 2007 10:40 am
Forum: Flowcode V2 & V3
Topic: Serialstring on one pin of the 16F84
Replies: 10
Views: 4427

Hi Urfalo To achieve this you need to adopt a bit banging approach. Since you are using the 16F84 there is no serial UART port so all of the serial communication must be achieved through software. The communication speed or baud rate of the serial data must be compatible with your max232 device. Thi...
by Benj
Tue Jan 02, 2007 10:37 am
Forum: Flowcode V2 & V3
Topic: Version 2 will not load Version 3 .fcf
Replies: 3
Views: 2277

Hi Jerry This is true FCF files that are opened and saved by version 3 will be uncompatible with version 2. This is due to the new boostc compiler used in V3. Due to this you should always make sure that you backup your V2 FCF files before loading them into V3. This just helps to make sure that your...
by Benj
Tue Jan 02, 2007 10:33 am
Forum: Flowcode V2 & V3
Topic: Files ( .FCF ) From v2.0 not load into v3.0
Replies: 1
Views: 2143

Hi Jerry

Send the FCF file to support@matrixmultimedia.co.uk and i will see what i can do with it.
by Benj
Tue Jan 02, 2007 10:32 am
Forum: E-blocks
Topic: "Could not ID the Onboard Chip"
Replies: 10
Views: 7775

Try downloading the latest version of PPP from the website at

http://www.matrixmultimedia.com/softwar ... _11_24.zip

This should hopefully fix the problem.
by Benj
Tue Jan 02, 2007 10:30 am
Forum: Flowcode V2 & V3
Topic: Frequency Divider
Replies: 12
Views: 5569

You can create a frequency devider in flowcode using just one variable. Jump back to flowchart symbol initialize your count variable to 0 while 1 block { while Input pin high{} while Input pin low{} count variable = count variable + 1 if count variable > count - 1 then change output pulse and jump b...
by Benj
Tue Dec 19, 2006 10:36 am
Forum: Flowcode V2 & V3
Topic: flowcode V3 problem
Replies: 6
Views: 3772

Hi Fransky Download the new version of flowcode V3 from our website. It says it is a demo but when you put in your serial and register the product it will become the full version. The update will get rid of the slow compilation problem and you should be able to compile your v2 files. You can downloa...
by Benj
Mon Dec 18, 2006 11:35 am
Forum: Flowcode V2 & V3
Topic: Loop control varibles
Replies: 1
Views: 1922

It certainly is possible to do that. Firstly use an input block with the bit you want to test masked. Read this input into a byte variable eg. Bit_Test. Then use a while block and set the conditions to while Bit_Test Remember to place an second input block inside the loop to update the Bit_Test vari...
by Benj
Mon Dec 18, 2006 11:16 am
Forum: C and ASM Programming
Topic: Reading and writing to ports
Replies: 6
Views: 5257

Hello I can see a few potential problems with the code. Firstly which compiler are you using. And how is a hex number represented. Eg. you used STATUS EQU 003 TRISA EQU 085 TRISB EQU 086 PORTA EQU 005 PORTB EQU 006 But normally it would be something like this STATUS EQU 0x03 TRISA EQU 0x85 TRISB EQU...
by Benj
Mon Dec 18, 2006 11:07 am
Forum: General Programming
Topic: B3 not lighitng up on Developement board V3
Replies: 1
Views: 2532

Hi Matthew In the PICmicro configuratin window in Flowcode or PPP click on the switch to expert config screen and then disable the low voltage programming. Please note that when you do so the Development board will need an 12.5 - 14V external power supply to run. Pin B3 is the programming pin and wh...
by Benj
Fri Dec 15, 2006 11:59 am
Forum: Flowcode V2 & V3
Topic: Let Us Know What You Are Doing With Flowcode
Replies: 42
Views: 49991

Let Us Know What You Are Doing With Flowcode

Dear All Flowcode is being used for many different reasons to control or monitor a vast range of sensors / equipment / activators. We know of people who use Flowcode to send timing signals to Racing Cars, people who use Flowcode to keep the time on a Church Clock and a whole range of other applicati...
by Benj
Wed Dec 13, 2006 5:29 pm
Forum: Flowcode V2 & V3
Topic: Help Files
Replies: 2
Views: 2054

Using Flowcode 3 you can simply add the component you want to view, compile to C and then view the C code you can see how the component macros are put together. There are some comments to guide you through what is happening at the major parts of the component drivers.
by Benj
Wed Dec 13, 2006 12:01 pm
Forum: Flowcode V2 & V3
Topic: making a beep sound
Replies: 4
Views: 3450

Hi Mel Heres a good example to play around with. Start off with a While 1. Inside the while 1 insert a C code icon and input the following code. int i; int time = 3200; for (i=0, i<time, i++){}; Then insert an output icon to set a pin to 1 Then insert another C code block with the ...
by Benj
Mon Dec 11, 2006 3:36 pm
Forum: Flowcode V2 & V3
Topic: LCD Connections
Replies: 4
Views: 2617

On the LCD E-Block you need to change change the jumper from Default to Patch. You then have to wire across the connections. For what you suggested it would be

1 - Bit0
2 - Bit1
3 - Bit2
4 - Bit3
5 - RS
6 - E

This should make your program match the altered hardware setup in flowcode.
by Benj
Mon Dec 11, 2006 11:13 am
Forum: C and ASM Programming
Topic: 10bit conversion to decimal
Replies: 1
Views: 2847

There is indeed an equation Variable = 10bit result 1st Digit = Variable % 10; //Ones % Symbol = MOD Variable = Variable / 10; 2nd Digit = Variable % 10; //Tens % Symbol = MOD Variable = Variable / 10; 3rd Digit = Variable % 10; //Hundreds % Symbol = MOD Variable = Variable / 10; 4th Digit = Variabl...