Search found 14581 matches

by Benj
Mon Nov 03, 2008 5:05 pm
Forum: Flowcode V2 & V3
Topic: Motion senosr3 example using Timer1/Pic16f877a
Replies: 11
Views: 8918

Re: Motion senosr3 example using Timer1/Pic16f877a

Hello Khaled

All the answers to your questions are available in the device datasheet available from here.

http://ww1.microchip.com/downloads/en/D ... 39582b.pdf
by Benj
Mon Nov 03, 2008 5:02 pm
Forum: Flowcode V2 & V3
Topic: is this a bug with the EEPROM component ?
Replies: 4
Views: 3646

Re: is this a bug with the EEPROM component ?

Hello This is a microchip silicone thing im afraid. However there is a workaround. Basically the EEPROM data is written to the EEPROM by writing 0x55 and 0xaa and then the EEPROM data. This is Microchips mechanism to make sure that you really do want to overwrite a byte of the EEPROM. Basically if a...
by Benj
Mon Nov 03, 2008 11:36 am
Forum: Flowcode V2 & V3
Topic: where to find timers ... please Urgent
Replies: 7
Views: 10368

Re: where to find timers ... please Urgent

Hello Timers can be used by using the interrupt enable icons. If you wish to read the timer registers directly then you will need to create either a single variable or two variables depending on the size of the timer registers. Eg in flowcode create variables timer1h and timer1l. Then using a C code...
by Benj
Mon Nov 03, 2008 11:32 am
Forum: Flowcode V2 & V3
Topic: flowcode für ecio
Replies: 1
Views: 2229

Re: flowcode fΓΌr ecio

Hello Wolfgang

The free version of Flowcode can be downloaded from this page.

http://www.matrixmultimedia.com/Flowcode3a-X.php

Here is the direct link.

http://www.matrixmultimedia.com/Downloa ... k.php?id=2
by Benj
Mon Nov 03, 2008 10:22 am
Forum: Bugs / Application Errors
Topic: Different results between Flowcod and real PIC
Replies: 2
Views: 3769

Re: Different results between Flowcod and real PIC

Hello The Flowcode 7 segment component is defined for a common anode display so the 8-bit data connection provide a path to ground rather then power for the segment. Common cathode types of display will be supported by Flowcode V4. In the mean time if you know a bit of C you should be able to edit t...
by Benj
Fri Oct 31, 2008 12:26 pm
Forum: Flowcode V2 & V3
Topic: help needed with DS1302 and SPI
Replies: 2
Views: 3754

Re: help needed with DS1302 and SPI

Hello

Few simple things you could check. Eg make sure that the SPI properties are correct, which clock edge is data written on, how fast should the bus be running etc.
by Benj
Fri Oct 31, 2008 12:21 pm
Forum: Flowcode V2 & V3
Topic: Problems in LCD screen
Replies: 1
Views: 2453

Re: Problems in LCD screen

Hello

Thats just the C compiler optimising out your code by removing unused functions. Nothing to worry about unless you are actually calling those functions in your code.
by Benj
Fri Oct 31, 2008 12:20 pm
Forum: Flowcode V2 & V3
Topic: Zigbee examples
Replies: 2
Views: 2779

Re: Zigbee examples

Hello Rinie

Everything you require is available at the bottom of this page.

http://www.matrixmultimedia.com/abouteb ... ions-X.php

I have also attached the Zigbee test file for you.
by Benj
Fri Oct 31, 2008 12:16 pm
Forum: Flowcode V2 & V3
Topic: cant use timer1 overflow in pic 16f877
Replies: 9
Views: 7263

Re: cant use timer1 overflow in pic 16f877

Ah ok that makes sense. The timer1 interrupt is probably not defined for the 16F877 processor. If you open up the 16F877A.fcd file from the Flowcode V3/fcd folder and scroll to the bottom then you will see the interrupt code. Copy this section of code into your 16F877.fcd file and restart Flowcode. ...
by Benj
Fri Oct 31, 2008 12:13 pm
Forum: Flowcode V2 & V3
Topic: Motion senosr3 example using Timer1/Pic16f877a
Replies: 11
Views: 8918

Re: Motion senosr3 example using Timer1/Pic16f877a

Hello I dont think this is correct. tmr1=0; Instead you would probably need to use tmr1h=0; tmr1l=0; Then to load the flowcode variables into the timer you would have to do the following. tmr1h = FCV_TMR1H; tmr1l = FCV_TMR1L; To read the timer variables into flowcode use the following. FCV_TMR1H = t...
by Benj
Fri Oct 31, 2008 10:26 am
Forum: Flowcode V2 & V3
Topic: Motion senosr3 example using Timer1/Pic16f877a
Replies: 11
Views: 8918

Re: Motion senosr3 example using Timer1/Pic16f877a

Hello and system division by four>>>how do we do that???i don't know!!can someone tell me??>> This is built into the PIC architecture and cannot be disabled. still missing how to get the low and high bits of timer1? The low and high bits of the timer can be collected by reading the registers using a...
by Benj
Fri Oct 31, 2008 10:21 am
Forum: Flowcode V2 & V3
Topic: cant use timer1 overflow in pic 16f877
Replies: 9
Views: 7263

Re: cant use timer1 overflow in pic 16f877

Hello

Check that the timer interrupt enable icon properties is using the CLKI and not the T0CLKI for the input clock.
by Benj
Thu Oct 30, 2008 5:03 pm
Forum: Flowcode V2 & V3
Topic: ecio timer int
Replies: 1
Views: 1938

Re: ecio timer int

Hello

The timer interrupt simulation is not great and will not always work depending on your machine. For a guarenteed result use the PIC hardware to test the timer operation.
by Benj
Thu Oct 30, 2008 4:54 pm
Forum: General Programming
Topic: Problems with HP488 /PIC16F84
Replies: 11
Views: 8369

Re: Problems with HP488 /PIC16F84

Hello

Please check that the jumpers just to the left of the LCD screen are all set to the I/O position. If this doesn't work or the jumpers are already positioned correctly then what kind of 84 are you using. EG 16F84 16F84A etc.
by Benj
Thu Oct 30, 2008 4:21 pm
Forum: Components (Comms)
Topic: Boostc C compiler error when RS232 in TMR0 interuption
Replies: 3
Views: 3999

Re: Boostc C compiler error when RS232 in TMR0 interuption

Hello Yes you can have up to 8 layers using the hardware stack and up to 255 using the boostc software stack. The warning message is saying that your main code has 4 layers and your interrupt code has 5 layers resulting in a possible 9 layer stack. You are also getting a second warning saying your c...
by Benj
Thu Oct 30, 2008 3:57 pm
Forum: Components (Other)
Topic: Programming PIC 18f6680
Replies: 6
Views: 5693

Re: Programming PIC 18f6680

Hello

Here is the 64 pin version of the definition file. Simply copy into your Flowcode v3/fcd folder and restart Flowcode. If it turns out that you need the 68 pin definition then let me know and I will generate that for you too.
by Benj
Thu Oct 30, 2008 2:21 pm
Forum: Components (Comms)
Topic: USB Mass Storage Device
Replies: 11
Views: 8673

Re: USB Mass Storage Device

Hello

Ok well I will try to have an unbiased look at it later this afternoon and come back later on with my findings.
by Benj
Thu Oct 30, 2008 2:02 pm
Forum: Components (Comms)
Topic: Boostc C compiler error when RS232 in TMR0 interuption
Replies: 3
Views: 3999

Re: Boostc C compiler error when RS232 in TMR0 interuption

Hello Your program is compiling and not receiving an error just a serious warning. The warning is referring to code that is called in your main routine and in an interrupt routine. If the program runs ok then there is probably nothing to worry about. If the program does not run ok then the best thin...
by Benj
Thu Oct 30, 2008 12:42 pm
Forum: Components (Comms)
Topic: USB Mass Storage Device
Replies: 11
Views: 8673

Re: USB Mass Storage Device

Hello Ok well it comes down to this list. These are my opinions only but hopefully I can help you to find the best solution. 1) There is no current mass storage component and even if I were given the go ahead to make this then it would take at least a week or two to get it to a workable stage. 2) Th...
by Benj
Thu Oct 30, 2008 12:34 pm
Forum: Components (Other)
Topic: Programming PIC 18f6680
Replies: 6
Views: 5693

Re: Programming PIC 18f6680

Hello

Is your 6680 using the 64 pin package or the 68 pin package?
by Benj
Thu Oct 30, 2008 12:10 pm
Forum: E-blocks
Topic: Test file for bluetooth board
Replies: 1
Views: 2727

Re: Test file for bluetooth board

Hello

Test files for the bluetooth can be found at the link below as well as a version of our bluetooth manual.

http://www.matrixmultimedia.com/abouteb ... ions-X.php
by Benj
Thu Oct 30, 2008 12:07 pm
Forum: Components (Other)
Topic: Programming PIC 18f6680
Replies: 6
Views: 5693

Re: Programming PIC 18f6680

Hello

Im afraid that the 18F6680 is not currently supported by the current version of Flowcode. Good news is that it is possible to provide support for this fairly quickly. If you wish to go ahead and use Flowcode then let me know and I will generate the definitions to allow this chip to work.
by Benj
Thu Oct 30, 2008 12:04 pm
Forum: Flowcode V2 & V3
Topic: which timer is being used?
Replies: 2
Views: 2937

Re: which timer is being used?

Hello Chevvy

The delays are software based and do not use the hardware timers. Same goes for the switch debounce.
by Benj
Thu Oct 30, 2008 12:02 pm
Forum: Components (Comms)
Topic: USB Mass Storage Device
Replies: 11
Views: 8673

Re: USB Mass Storage Device

Hello Kumaran As far as I know to enumerate as a mass storage device you have to be compliant with a form of FAT. therefore you would also have to use a FAT file system on your flash memory. Im not 100% on how all of this works but if you could get away without using a mass storage device then it wo...
by Benj
Thu Oct 30, 2008 11:58 am
Forum: E-blocks
Topic: Motor control
Replies: 6
Views: 4843

Re: Motor control

Hello Paddy

I have attached the file for you.