Search found 14581 matches

by Benj
Tue Jun 03, 2008 11:35 am
Forum: Suggestions
Topic: Mixed switches
Replies: 1
Views: 3317

Re: Mixed switches

Hello Jan

Good Suggestion.

You can get semi-acheive this functionality by creating multiple switch components and reducing the number of switches in the properties to get the desired switches.
by Benj
Tue Jun 03, 2008 11:30 am
Forum: General / Misc
Topic: frequency counter & generator
Replies: 11
Views: 13989

Re: frequency counter & generator

Hello You should be able to modify the timer interrupt so that it will output a 1 or a 0 to a pin depending on a count variable. Eg if count < 50 output 0 if count >50 output 1 if count = 150 count = 0 you can then use the main to control the control variables rather then being constants as shown ab...
by Benj
Tue Jun 03, 2008 1:42 am
Forum: General Programming
Topic: Which PIC
Replies: 5
Views: 5237

Re: Which PIC

Hello

A 8 pin 12F series might be what you are looking for. I think that they all come with the internal oscillator as standard.
by Benj
Mon Jun 02, 2008 8:39 pm
Forum: Components (Other)
Topic: PWM component and PIC 16F777
Replies: 12
Views: 9363

Re: PWM component and PIC 16F777

Hi Mika Thanks for the post. Regarding the KS108 LCD I have a prototype circuit sitting on my desk at work. Im currently looking into reducing the i/o pin count eg via serial data so it can sit on a single port. With any luck there may be a beta component available for this soon. Do you know of any ...
by Benj
Mon Jun 02, 2008 8:29 pm
Forum: Components (Other)
Topic: SD/MMC memory
Replies: 11
Views: 10177

Re: SD/MMC memory

Hello I have made the edits to the code file and attached to this post for reference. Here are the new definitions. //Flowcode Defines #define MX_CARD_PORT portb #define MX_CARD_TRIS trisb #define MX_CARD_CS 3 #define MX_CARD_SCK 1 #define MX_CARD_SDI 0 #define MX_CARD_SDO 7 #define MX_CARD_PORT2 po...
by Benj
Mon Jun 02, 2008 8:15 pm
Forum: Components (Other)
Topic: SD/MMC memory
Replies: 11
Views: 10177

Re: SD/MMC memory

Hello Currently the custom component supports only one port. It is bit banged so you can use any pins you like as long as they are all on the same port. It should be a fairly simple task to modify the C driver file to use a second port and tris. If you need help doing this then let me know as its pr...
by Benj
Mon Jun 02, 2008 12:20 pm
Forum: C and ASM Programming
Topic: accessing registers in asm
Replies: 5
Views: 6255

Re: accessing registers in asm

Hello

You must use the register name. BoostC does not seem to support the direct register addresses.
by Benj
Mon Jun 02, 2008 12:18 pm
Forum: Components (Comms)
Topic: Zigbee
Replies: 6
Views: 6065

Re: Zigbee

Hello

Have you defined the component connections. The component will fail if it is not assigned to a port.
by Benj
Mon Jun 02, 2008 12:17 pm
Forum: Components (Other)
Topic: Graphical LCD and four PWM help needed
Replies: 17
Views: 12224

Re: Graphical LCD and four PWM help needed

Hello Mikat

Maybe its worth your while creating a simple LED flasher app that will flash every second. This will show you if the clock speed is correct. Sound like your clock frequency is much slower then expected. Also running the LCD directly off the port is fine.
by Benj
Mon Jun 02, 2008 11:57 am
Forum: General / Misc
Topic: frequency counter & generator
Replies: 11
Views: 13989

Re: frequency counter & generator

Hello

Have you looked at the frequency counter example flowcode file available from here.

http://www.matrixmultimedia.com/Flowcode_Examples.php

Hopefully this should help you to get started.
by Benj
Sun Jun 01, 2008 6:08 pm
Forum: Components (Other)
Topic: SD/MMC memory
Replies: 11
Views: 10177

Re: SD/MMC memory

Hello The SD/MMC pin connections are defined inside the properties of the custom component. The target chip can be changed by going to Chip -> Target. I have attached the latest version of the custom component code file as I have removed a couple of minor bugs that occur when dealing with larger fil...
by Benj
Fri May 30, 2008 4:23 pm
Forum: Components (Other)
Topic: Graphical LCD and four PWM help needed
Replies: 17
Views: 12224

Re: Graphical LCD and four PWM help needed

Hello Mikat No its definatley shouldnt take that long, it takes about that long to clear the entire display here. I had a PICmicro here running on a 19.6608MHz clock creating a graphical charting application here and it was nice and quick. Printing out 2 charaters should be almost instant. What cloc...
by Benj
Fri May 30, 2008 11:34 am
Forum: Components (Other)
Topic: Graphical LCD and four PWM help needed
Replies: 17
Views: 12224

Re: Graphical LCD and four PWM help needed

Hello Mikat Yes you can set the foreground and background colours to white (or whatever background colour you are using) and then simply draw a small box over the value you wish to overwrite. Alternatively you can just write the value in the same position keeping the transparancy setting off and the...
by Benj
Fri May 30, 2008 9:34 am
Forum: Components (Other)
Topic: SD/MMC memory
Replies: 11
Views: 10177

Re: SD/MMC memory

Hello

There is a beta version of the FAT driver for the MMC and SD cards available from here.

http://www.matrixmultimedia.com/Flowcode_Components.php
by Benj
Fri May 30, 2008 9:31 am
Forum: Components (Other)
Topic: Graphical LCD and four PWM help needed
Replies: 17
Views: 12224

Re: Graphical LCD and four PWM help needed

Hello Mikat

I think you should be able to edit the gFXLCD_Code.c file found in the Flowcode V3/Components directory. You should just have to change the width and height constants in the print string function.
by Benj
Fri May 30, 2008 9:28 am
Forum: General Programming
Topic: Alarm System Programme -Help/Start Point
Replies: 1
Views: 2792

Re: Alarm System Programme -Help/Start Point

Hello Ron

The examples are not on the CD they are in the Program Files/Matrix Multimedia/Flowcode V3/Examples folder.

I have attached TUT_32 for you.
by Benj
Fri May 30, 2008 9:27 am
Forum: Flowcode V2 & V3
Topic: Simple Key Pad Programme - help
Replies: 1
Views: 2076

Re: Simple Key Pad Programme - help

Hello Ron

You might find some of the information here useful.

http://www.matrixmultimedia.com/softwar ... censed.zip
by Benj
Thu May 29, 2008 10:20 am
Forum: General Programming
Topic: USB Cable
Replies: 1
Views: 2602

Re: USB Cable

Hello Ron

Please refer to the following topic on our support centre.

http://www.matrixmultimedia.com/support ... .php?t=508

Hopefully this should solve your problem.
by Benj
Thu May 29, 2008 10:18 am
Forum: C and ASM Programming
Topic: accessing registers in asm
Replies: 5
Views: 6255

Re: accessing registers in asm

Hello After compiling your code I was given a line number that indicated the problem was with the following line of code. addlw _FCV_A ,0 Changing the code to the following fixed the problem addwf _FCV_A ,0 So the completed code is now. asm{ bsf _status,5 ;Go to bank 1 movlw 00h ;Put 00000 into W mo...
by Benj
Wed May 28, 2008 11:08 am
Forum: Flowcode V2 & V3
Topic: SSP and Timer0
Replies: 4
Views: 3659

Re: SSP and Timer0

Hello Andrew The timer interrupt can process as many functions as needed but it must have returned before the timer0 register overflows again or it will miss the overflow. Eg if you have your interrupts triggering every second then you can have up to just under a seconds worth of time you can spend ...
by Benj
Tue May 27, 2008 11:24 am
Forum: Bugs / Application Errors
Topic: 18F4685 fails to program
Replies: 3
Views: 8370

Re: 18F4685 fails to program

Hello Bert Please can you browse to your PPP folder. Normally: C:\Program Files\Matrix Multimedia\Common\PPPv3\ Then make a copy of the ppp_config_data3.cfg file incase you need to restore it at any point. Then replace the file with the file in the archive attached to the board. Hopefully this will ...
by Benj
Tue May 27, 2008 11:12 am
Forum: E-blocks
Topic: Blanking the display (4 digit LED)
Replies: 1
Views: 2969

Re: Blanking the display (4 digit LED)

Hello

You should be able to use a decision icon to perform the functionality you require.

If you need more help then there is an online course available here that should get you up to speed.

http://www.matrixmultimedia.com/Learnin ... /index.php
by Benj
Tue May 27, 2008 11:08 am
Forum: Flowcode V2 & V3
Topic: SSP and Timer0
Replies: 4
Views: 3659

Re: SSP and Timer0

Hello The SSP module should not affect the timer0 timing. However if you have a lot of code in your timer interrupt routine then this will slow down the interrupts as the interrupt code must finish before the next interrupt can be enabled. If this is the case then try to move the larger functions ba...
by Benj
Tue May 27, 2008 10:31 am
Forum: E-blocks
Topic: ECIO digital I/O
Replies: 1
Views: 3017

Re: ECIO digital I/O

Hello Jan Currently Flowcode supports a maximum of 2 channels of PWM. You can add the other 3 channels by using C code called via Flowcode. Alternatively you can bit bang the PWM signal using a timer interrupt and a global variable for every extra PWM channel you want to use. Chapter 15 of the 18F44...
by Benj
Fri May 23, 2008 3:56 pm
Forum: Flowcode V2 & V3
Topic: Handling RS232 ECHO Character
Replies: 1
Views: 2141

Re: Handling RS232 ECHO Character

Hello

There is sometimes a command to disable the echoed characters, is this a possibility.

Otherwise you will have to set up a macro or function to send out a char and then wait for the same char to be read back. This depends on how interwoven the echos characters are with the incoming data stream.