Search found 13487 matches

by Benj
Thu Jan 11, 2007 11:21 am
Forum: Flowcode V2 & V3
Topic: A New component
Replies: 14
Views: 6155

Thanks for the work canipus its greatly appreciated. I have posted the file created by canipus on the website at the following address. http://www.matrixmultimedia.com/software/Freq_Divider.zip I will look into the problems with the 12F devices and the switch macros. Hopefully I will be able to fix ...
by Benj
Thu Jan 11, 2007 11:00 am
Forum: Flowcode V2 & V3
Topic: Printing Feature Request
Replies: 3
Views: 2078

Thanks for the input guys. You both have some good suggestions there and we appreciate the feedback regarding our product. I will pass your comments onto Steve as Flowcode is his project.
by Benj
Wed Jan 10, 2007 12:28 pm
Forum: General Programming
Topic: Problem getting V2 PIC board detected by computer.
Replies: 12
Views: 10781

The driver to fix this problem is available from the Support FAQ section.

http://matrixmultimedia.com/support/viewtopic.php?t=498
by Benj
Wed Jan 10, 2007 10:58 am
Forum: Flowcode V2 & V3
Topic: Flowcode and onewire temperarture sensor
Replies: 26
Views: 15859

The latest Flowcode V3 update is a crutial update as it fixes a lot of bugs and also provides a base for future updates to patch into. The current release is not capable of being patched.
by Benj
Wed Jan 10, 2007 10:53 am
Forum: Flowcode V2 & V3
Topic: Frequency Divider
Replies: 12
Views: 5503

No problem Goldwingers. Let me know how you get on The double == stands for is it equal to eg Not sure if you need the double equals in Flowcode as I think the decision blocks do all the work for you. Var = 1; //assigns 1 to Var if (Var == 0) //returns a 1 if Var is 0 or returns a 0 if Var not a 0 a...
by Benj
Wed Jan 10, 2007 10:43 am
Forum: Flowcode V2 & V3
Topic: A New component
Replies: 14
Views: 6155

Hi guys

If you get any code working then send it to me at ben@matrixmultimedia.co.uk

I will add it to flowcode when the SDK component is finished.

Thanks for all your ideas. Your help makes Flowcode great and more powerful.
by Benj
Tue Jan 09, 2007 5:41 pm
Forum: Flowcode V2 & V3
Topic: Frequency Divider
Replies: 12
Views: 5503

Re: Further

i need to initiate these frequencies from 2 VCO simultainiously, so for the first vco i need 30 hz, and the second 400ohz - HELP Goldwingers. There are several ways to achieve 2 VCO's simultainiously. 1) Use an interrupt to drive one of the VCO's. So as the processor's runtime is consumed with worr...
by Benj
Tue Jan 09, 2007 2:19 pm
Forum: General Programming
Topic: Programming PIC16F716 with PPP and V2 Development board
Replies: 2
Views: 3295

Hi Lokinvaar Sorry about moving your post. I have made sure that the support section cannot be posted to now. There are no known issues with this chip but I do not have one here so cannot test it. It sounds like your chip has become write protected. Meaning the code that is on it has been locked. Un...
by Benj
Tue Jan 09, 2007 12:22 pm
Forum: General Programming
Topic: Programming PIC16F716 with PPP and V2 Development board
Replies: 2
Views: 3295

Programming PIC16F716 with PPP and V2 Development board

Taken from our Support FAQ Database. RE lokinvaar I have been using 16C711's succesfully for several years, using PPP with a V2 Development board. I want to use the program on the PIC16F716 which I understand from data sheets is compatible. I have downloaded the latest update for PPP version 3.8.11....
by Benj
Tue Jan 09, 2007 11:37 am
Forum: Flowcode V2 & V3
Topic: Problem with MCLR
Replies: 3
Views: 2177

by Benj
Tue Jan 09, 2007 11:34 am
Forum: Flowcode V2 & V3
Topic: Serialstring on one pin of the 16F84
Replies: 10
Views: 4378

wont a NOP wary in time depending on the speed of the local oscillator Yes a single NOP just takes up 4 clock cycles this would have to be translated into a time equivalent to 4us. Also keep in mind that your control logic will take up clock cycles also. error: unknown identifier 'txsta' Secondly t...
by Benj
Tue Jan 09, 2007 11:04 am
Forum: Flowcode V2 & V3
Topic: Frequency Divider
Replies: 12
Views: 5503

Now for the frequency devision. Variable: Byte count_Var, Byte Num_Devisions, Byte output_Var Components: Single switch connected to input bit Single LED connected to output bit Calculation: Num_Devisions = frequency devision eg. 8 Declare Connection Point reset_CP Decision output_Var == 0 Yes: Calc...
by Benj
Tue Jan 09, 2007 10:50 am
Forum: Flowcode V2 & V3
Topic: Frequency Divider
Replies: 12
Views: 5503

Hello All, Ill try to make this as compatable with Flowcode as possible. Sorry I cant include images. For the voltage controlled frequency oscillators you could use something like this. Variable - Byte ADC_Value Components - ADC Component - Connected to ADC channel Single LED - Connected to output p...
by Benj
Mon Jan 08, 2007 6:06 pm
Forum: C and ASM Programming
Topic: Writing data to eeprom memory
Replies: 1
Views: 2819

Hello David The EEPROM memory is taken up depending on which variable you are placing into the EEPROM. However you can only write to the EEPROM a byte at a time so. A Byte / Char / 8 bit variable will take up 1 byte of EEPROM. A Int / Double / 16 bit variable will take up 2 bytes of EEPROM and invol...
by Benj
Mon Jan 08, 2007 10:33 am
Forum: Flowcode V2 & V3
Topic: Flowcode and onewire temperarture sensor
Replies: 26
Views: 15859

The anomaly with your ascii character is probably due to the fact that the LC-Displays use a similar but different ascii character set then that of windows. To display your degrees symbol you have to use the hex value 0xDF.
by Benj
Mon Jan 08, 2007 10:25 am
Forum: Flowcode V2 & V3
Topic: Have i found a glitch or not
Replies: 4
Views: 2488

Thats right the Input Output pins assigned by Flowcode are designed for use with our Dev boards and E-block range of hardware. You are also correct that when the pin is configured as an input that when a switch is pressed the LED also switches on. However if the pin is configured as an output the le...
by Benj
Mon Jan 08, 2007 10:22 am
Forum: Flowcode V2 & V3
Topic: Problem with MCLR
Replies: 3
Views: 2177

This may have something to do with the inbuilt pull up resistors present in the PICmicros. Im not sure but I think that Flowcode may enable or disable them while your assembler program would not. If you replace your 1K resistor connected between Ground and GP3 with a 4.7K or higher resistor this may...
by Benj
Mon Jan 08, 2007 10:17 am
Forum: Flowcode V2 & V3
Topic: use of integers in version 3 ?
Replies: 5
Views: 2859

The integers in Flowcode 3 should be 16 bit so a count of about 16000 should be possible. However if you are having probelms then why not have an inner loop count of 255 and then an outer loop count of 2 to reach your goal of 512,
by Benj
Mon Jan 08, 2007 10:15 am
Forum: Flowcode V2 & V3
Topic: Serialstring on one pin of the 16F84
Replies: 10
Views: 4378

In the C Code block you need to use delay_10us(10); this will create a delay of 100us. The other 4us can be taken up by the control logic that controls the serial data flow. If the delay is not long enough then the 4us can be created by using assembler embedded into a C code block eg asm { nop ...
by Benj
Fri Jan 05, 2007 10:43 am
Forum: Flowcode V2 & V3
Topic: Have i found a glitch or not
Replies: 4
Views: 2488

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: 3168

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: 4378

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: 3168

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: 6060

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: 2658

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...