Search found 13870 matches

by Benj
Wed Jan 31, 2007 3:55 pm
Forum: Flowcode V2 & V3
Topic: Problem with frequency and LCD display
Replies: 39
Views: 18075

Was there the c,asm and hex files in the archive i sent to you,or did i forgot those?


I think it was just the .FCF files you sent before.
by Benj
Wed Jan 31, 2007 10:41 am
Forum: Flowcode V2 & V3
Topic: Problem to create a program
Replies: 7
Views: 3775

Hello I will try to break the problem down into blocks compatible with Flowcode. Variables Window byte index byte max_index byte char_in Strinr word_in Flowcode Main Program Calculation index = 0 max_index = 10 Loop ( index < max_index ) { Component Macro RS232 - read_byte - return value char_in Str...
by Benj
Wed Jan 31, 2007 10:34 am
Forum: Flowcode V2 & V3
Topic: Problem with frequency and LCD display
Replies: 39
Views: 18075

Hello Mikat

The files you sent me compile and work fine on our LCDs here. Can you send me the .c, .fcf and the .hex files from your 4MHz program so I can see if it is your compiler at fault.
by Benj
Fri Jan 26, 2007 1:55 pm
Forum: Flowcode V2 & V3
Topic: ADC interupts?
Replies: 8
Views: 5305

An example Flowcode V3 program is available from the following link http://www.matrixmultimedia.com/software/ADC_INT.fcf In this example program the Analogue converter is started and ended using an interrupt. The top line of the LCD shows the output of the LCD. The bottom line of the LCD shows the n...
by Benj
Fri Jan 26, 2007 1:51 pm
Forum: Flowcode V2 & V3
Topic: ADC interupts?
Replies: 8
Views: 5305

Hi Serstel Ok in the custom interrupt properties window you want something like this (note that these settings are for the 18F4550 PICmicro sampling ADC channel 0 - for other devices refer to their datasheet) Custom Interrupt Name = ADC_INT Enable Register = pie1 Enable Bit = ADIE Flag Register = pi...
by Benj
Thu Jan 25, 2007 11:03 am
Forum: Flowcode V2 & V3
Topic: ADC interupts?
Replies: 8
Views: 5305

Hello It is quite possible to achieve this. What you need to do is work out approximatley how long the conversion takes. To do this you could start the conversion and then start the Timer0. You will need to enable interrupts for the timer0. You could say light a LED if the conversion is done when th...
by Benj
Tue Jan 23, 2007 11:06 am
Forum: General Programming
Topic: Suggestion for a first 18 series PIC for use Flowcode/PPP
Replies: 2
Views: 3195

Most of the 18F devices will be acceptable. Just make sure that they are compatible with PPP. Some of the devices listed in Flowcode are not supported by PPP. You can see the PPP supported devices by selecting expert mode and scrolling down the list of chips. The 18F's that we use frequently here ar...
by Benj
Fri Jan 19, 2007 4:29 pm
Forum: Flowcode V2 & V3
Topic: Using interrupts
Replies: 2
Views: 2416

Instead of trying to keep the interrupt flag set you could disable the interrupt as soon as you hit the service routine and then re-enable it when you jump back to your main program.
by Benj
Fri Jan 19, 2007 11:32 am
Forum: Flowcode V2 & V3
Topic: Problem with frequency and LCD display
Replies: 39
Views: 18075

Yes it still works fine in Finnish. I think the problem is probably the differency in LCD component version as mine is V1.3. There will be a new patch for flowcode coming out on moday I think. Hopefully this will help solve your problems.
by Benj
Fri Jan 19, 2007 11:28 am
Forum: Flowcode V2 & V3
Topic: Problem with frequency and LCD display
Replies: 39
Views: 18075

You can change the language at any time by selecting

View -> Options

Tick the override language box and then selecting your language.

I will try compiling your code in finnish and see if this affects the running of your prog.
by Benj
Fri Jan 19, 2007 11:26 am
Forum: Flowcode V2 & V3
Topic: dc-motordrive
Replies: 1
Views: 1855

Hello Flo

Sorry I dont know much about the product you need help with.

The best advice I can offer is to try to find E Books on robotics behaviour protocalls, fuzzy logic and mobile positioning. These should help to answer all of your questions.
by Benj
Fri Jan 19, 2007 11:21 am
Forum: Flowcode V2 & V3
Topic: Connecting an LCD on PORTA
Replies: 3
Views: 2636

Hello Pinto

Try using this code in a C Code block.

Code: Select all

adcon1 = 0x07;
adcon0 = 0x80;


It should disable the analogue function of the PORT A pins.
Have you tested with hardware or just via the proteus simulation tool.
by Benj
Fri Jan 19, 2007 11:17 am
Forum: General Programming
Topic: programming problem with the HI-TECH PICC and C complier
Replies: 1
Views: 2687

If the clock is driven by a crystal then the frequency is set to that of the crystal. The potentiometer only adjusts the frequency in RC mode. Registers in BoostC are lowercase. porta = 0x00; //Set Port A = 0 status = 0; //Set Status = 0 portb = 0xFF; //Set Port B = 255 You may need to locate the he...
by Benj
Thu Jan 18, 2007 2:15 pm
Forum: Flowcode V2 & V3
Topic: Problem with frequency and LCD display
Replies: 39
Views: 18075

This is really strange.
What language are you using flowcode in.
Maybe it has something to do with a difference between the language packs.
by Benj
Thu Jan 18, 2007 1:35 pm
Forum: Flowcode V2 & V3
Topic: Problem with frequency and LCD display
Replies: 39
Views: 18075

Yes I have those files. The 4MHz clock settings in flowcode seemed to be still set at 3.27, this may be the source of your problem. Make sure that in the Chip -> Clock speed menu you set the clock speed to 4000000. Thats a 4 followed by six 0's. Other then this I have tested the 4MHz file using a 4M...
by Benj
Thu Jan 18, 2007 11:31 am
Forum: Flowcode V2 & V3
Topic: Problem with frequency and LCD display
Replies: 39
Views: 18075

Thats very odd. I have tested your simple flashing hello program at 4MHz and it seems to be working fine. Please send me your programs and I will try to work out what the problem is.
by Benj
Thu Jan 18, 2007 11:25 am
Forum: Flowcode V2 & V3
Topic: RS232 Special Characters
Replies: 2
Views: 2383

Hello Pinto

You can send special characters by using their decimal ASCII values.

Carriage Return = 13
Comma = 44
Quotes = 34
Ctrl-Z = 26

Make sure you send the number without quotes around and everything should work as expected.
by Benj
Wed Jan 17, 2007 5:26 pm
Forum: Flowcode V2 & V3
Topic: Problem with frequency and LCD display
Replies: 39
Views: 18075

Milkat Firstly make sure that if you are using a variable string that gets passed to the LCD you need to initailise the value at the start of your program. Eg. String Manipulation Icon (Str1 = "") Secondly my LCD component is V1.3. seeing as your Flowcode V3 is up to date I wonder why the ...
by Benj
Wed Jan 17, 2007 3:56 pm
Forum: E-blocks
Topic: Use of RS-232 and SPI boards together on HP-488 board
Replies: 3
Views: 3886

Hello Mark Which PIC micro are you using. The RS232 uses the following pins RX and TX The SPI uses the following pins SDO, SDI and SCL Therefore it is possible on most PIC devices to connect both the RS232 and SPI to the PortC and use the patch system to channel the pins to the correct locations on ...
by Benj
Wed Jan 17, 2007 12:34 pm
Forum: Flowcode V2 & V3
Topic: Problem with frequency and LCD display
Replies: 39
Views: 18075

Mikat what version of flowcode are you using. Also which version is your LCD component. (There should be a version number on the component within flowcode)
by Benj
Wed Jan 17, 2007 12:04 pm
Forum: Flowcode V2 & V3
Topic: Problem with frequency and LCD display
Replies: 39
Views: 18075

Hello Mikat

I remember trying to test the LCD's on a 4MHz crystal but we dont happen to have any here to test with. I think I have some 4Mhz crystals at home so I will test later today (prob this afternoon) and let you know the outcome.
by Benj
Mon Jan 15, 2007 12:05 pm
Forum: Flowcode V2 & V3
Topic: A New component
Replies: 14
Views: 6475

Thanks Mark

Any chance you could post the code used in the definitions so other users can get these chips working.
by Benj
Mon Jan 15, 2007 12:02 pm
Forum: General Programming
Topic: PIC 16F876 and 877 Upgrade to include 16F88 low power featur
Replies: 1
Views: 2957

Hello Mark

Currently these chips are not supported by PPP. However when the new version of PPP is made there there are a few chips that we wish to add so these will probably be added to the list.
by Benj
Mon Jan 15, 2007 10:39 am
Forum: Flowcode V2 & V3
Topic: EEPROM PROBLEM
Replies: 6
Views: 3515

Thanks for your input Alan. I will look at the EEPROM code generation for Flowcode and modify the errors.

Cheers for your help.
by Benj
Fri Jan 12, 2007 6:29 pm
Forum: Flowcode V2 & V3
Topic: EEPROM PROBLEM
Replies: 6
Views: 3515

Hello Alan I think you may well have something there. If you just put your code into a C code block then you can stick it into a macro and call it whenever you need it. I will see what we can do this end to get the actual component code corrected. Thanks for spotting the bug and hopefully providing ...