Search found 11 matches

by GJB
Sat Mar 15, 2008 3:15 pm
Forum: Components (Other)
Topic: Connecting a alphanumeric LCD to Flowcode
Replies: 71
Views: 66207

Re: Connecting a alphanumeric LCD to Flowcode

Hi Support team I recently designed a board which employed an LCD display supplied by Crystalfontz. The display is pin and function compatible Flowcode. The target application required the finished product to be placed in strong RF fields, and so I decoupled the data and control lines of the display...
by GJB
Wed Jan 09, 2008 2:27 pm
Forum: Flowcode V2 & V3
Topic: 16F877a Pull Up
Replies: 4
Views: 4544

answer

I am answering my own question here

correct C code for pull-ups is

(
option_reg=0x7F;
)
by GJB
Wed Jan 09, 2008 2:13 pm
Forum: Components (Other)
Topic: Connecting a alphanumeric LCD to Flowcode
Replies: 71
Views: 66207

Crystal Frequency and displays

Hi ben very timely posting. I have a display driven from Port D of 877a. As we have many 16Mhz xtals in stock, I thought I would use those, and set the osc frequency in flow code to either 10 or 20 Mhz, but the display only displays corrupted characters, with any setting. If I put a 4mhz xtal in, an...
by GJB
Wed Jan 09, 2008 1:46 pm
Forum: Flowcode V2 & V3
Topic: 16F877a Pull Up
Replies: 4
Views: 4544

16F877a Pull Up

Hello support team
I am using a 16F877a chip and wish to turn on the port B pull-ups.

In my C-code box I have

/*
(
option_reg=0x7F;
)
*/

This compiles without error, but the ports are not showing pull up volts.
can you help?
Joe
by GJB
Tue Jan 08, 2008 9:24 am
Forum: Flowcode V2 & V3
Topic: complile to chip error
Replies: 5
Views: 5202

compile error

Hi Steve thanks for the prompt response. I downloaded the fix (zip file) and after unzipping found 3 files boostc++.pic16 boostc++.pic18 boostc++.plc I ran the pic 16 file as I am working on this series of chip, the dos code window shows code activity, and then I ran flow code again trying to compil...
by GJB
Mon Jan 07, 2008 6:23 pm
Forum: Flowcode V2 & V3
Topic: complile to chip error
Replies: 5
Views: 5202

complile to chip error

Using flowcode 3.2.1.38 Target chip 16F877A Code sent to Steve via email Function readmode is called only once ? “bank switch” error not understood. BoostLink Optimizing Linker Version 6.70 http://www.sourceboost.com Copyright(C) 2004-2007 Pavel Baranov Copyright(C) 2004-2007 David Hobday Warnin...
by GJB
Wed Sep 19, 2007 3:55 pm
Forum: Flowcode V2 & V3
Topic: Interupts
Replies: 6
Views: 5375

Yes, I think I now see what was going on. In my code I had instruction-x timer enable instruction-X+1 And so I think from your explination, timer enable would fire the Ir routine and the code pointer would point back to instruction-x and not x+1 so the point of return would be the timer enable and I...
by GJB
Wed Sep 19, 2007 2:33 pm
Forum: Flowcode V2 & V3
Topic: Interupts
Replies: 6
Views: 5375

Hi Steve & Ben firslty an appology for not responding, but I have been away for a number of weeks. Secondly re Steve's point, I understood that all pros disable the interupt timer when servicing an interupt routine. It was explained to me that if the I-timer refired quicker than it takes to run the ...
by GJB
Tue Aug 14, 2007 11:32 am
Forum: Flowcode V2 & V3
Topic: Interupts
Replies: 6
Views: 5375

Interupts

Interrupts I have a line of flow code symbols which are my opening code to the program, among other things they reset variables and memory to zero. The penultimate call is to enable Timer0 which calls a service routine. The interrupt frequency is set to 19200 Hz. The first thing I do in my interrupt...
by GJB
Mon Mar 12, 2007 5:04 pm
Forum: Flowcode V2 & V3
Topic: In circuit flash programming
Replies: 2
Views: 3562

In circuit flash programming

There comes a time when it is quicker to upgrade your application software without removing the PIC from the target hardware, or it may be you have chosen a surface mount PIC. You can flash program your target device whilst it is in circuit using your Matrix Multimedia development board as a program...
by GJB
Tue Jan 09, 2007 9:48 pm
Forum: Flowcode V2 & V3
Topic: Using the debounce switch component macro - Flow:3
Replies: 20
Views: 17807

Hey guys, I also wrote my first Pic code just 3 days ago, but I have been a radio comms engineer for 42 years. I really enjoyed reading through this particular item. The bouncy switch question should also take into account the fact that most switches on micro system pass very little or no current. A...