Search found 128 matches

Return

by Harry Tuttle
Wed Jan 12, 2011 9:06 pm
Jump to forum
Jump to topic

128x64 LCD X Y Plotter

Simple little programme for the Byvac BV4512 128x64 LCD Graphic controller using hardware I2C. http://www.byvac.co.uk/downloads/datasheets/BV4512%20DataSheet.pdf Two analogue inputs ( a couple of potentiometers ) are read by the 16F877A to give X and Y coordinates which are plotted on the LCD in the...
by Benj
Thu Feb 24, 2011 9:12 am
Jump to forum
Jump to topic

Re: Analog Comparators and 16F628

Hello,

The link looks like a good answer to me, You cannot use Analogue inputs if the device does not have the analogue to digital peripheral. It does however have analogue comparators which was what I was explaining how to setup.
by DavidA
Tue Mar 08, 2011 4:42 pm
Jump to forum
Jump to topic

Re: Loading C or ASM into PIC

Hello Jan, There is no documented description that i know of, but its as simple as loading up PPP, clicking on the Open button, loading the hex file you wish to program and clicking "Send to PIC micro", if there are any problems, PPP should tell you. Unless i am misunderstanding the questi...
by Benj
Wed Oct 05, 2011 2:53 pm
Jump to forum
Jump to topic

Re: Disabeling interrupt

Hi Jan, Yes this is possible as we use this mechanism for one of the RC5 receive options. You can keep the interrupt enabled and simply use the lines of C code below to switch the INT operation. option_reg.INTEDG = 0; //Set the INT0 interrupt to trigger on falling edge option_reg.INTEDG = 1; //Set t...
by Benj
Fri Oct 28, 2011 2:26 pm
Jump to forum
Jump to topic

Re: PWM1 and 16F1827

Hello Jan,

Thanks for the info. Here are a couple of fixed FCD files that should resolve the problem for you.

Also all PWM channels have been added to the v5 FCD file so hopefully we should be able to support all PWM channels rather then just 2.
by medelec35
Fri Nov 11, 2011 8:26 am
Jump to forum
Jump to topic

Re: RS232 and integers

Hi Jan, I only send 10bit integers that are displayed in hyperterminal, but I send them as ACSII string. RS232 component has to be set to Characters and not bytes. To send several different integers I use the format as in the screen shot below: send int rs232.png Using a temp string Variable saves o...
by Benj
Fri Aug 13, 2010 2:23 pm
Jump to forum
Jump to topic

Programming a 12F675 with internal MCLR and internal clock

When programming a 12F675 device which has been configured with an internal clock and an internal MCLR the default PPP settings will not work to correctly program the device. To get around this problem go into PPP and click options. From Flowcode --- Chip -> Configure -> Options From PPP itself --- ...
by medelec35
Sat Nov 19, 2011 6:30 pm
Jump to forum
Jump to topic

Re: ICSP with MCLR disabled fails

Hi Jan,
Could it be similar to this:
viewtopic.php?f=2&t=7637&p=20028
?

There is also another workaround.
See:
viewtopic.php?f=29&t=7590#p20001
by Gary Freegard
Wed Nov 30, 2011 6:10 pm
Jump to forum
Jump to topic

Re: Unstable INT interrupt

Hi Jan I decided to have another look at your code. here what I have done: modified your INT_Interrupt only using B Int for timing runs continuously I have tried this, using continuous and single shot pulses at 1ms and lower (0.063ms is the lowest ), I can say that the reading was correct for the fi...
by wayne millard
Fri Jun 22, 2012 10:21 pm
Jump to forum
Jump to topic

Re: Stack Overflow

Hi Jan

It seems to work for me if you put it in the linker parameters as follows.

-ld "C:\Program Files\Flowcode\v5\Tools\BoostC\lib" libc.pic16.lib rand.pic16.lib float.pic16.lib -swcs 6 2 "%f.obj" -t PIC%p -d "%d" -p "%f"

Hope This helps

Wayne :D
by JonnyW
Tue Jul 03, 2012 9:18 am
Jump to forum
Jump to topic

Re: Error substracting 2 integers

Good morning Jan. At a guess is the line that the error is showing up on line 1840 of the generated .c file? It may be that the parsing is getting mixed up as to what is an error and what is not. How the error report works is it looks at the compiler output for the filename and a line number (we can...
by Enamul
Tue Jul 17, 2012 10:35 am
Jump to forum
Jump to topic

Re: LCD Port D 16F1939

Hi, I think you that this particular PIC has built-in capacitive sensor which has analog input CPS8-15 mapped in PORTD...which has to be disabled for normal digital I/O operation. I use just a test flowcode (LCD start, clear and string "TEST") to test the LCD on the EB006-30 board on port ...
by JonnyW
Sat Jan 19, 2013 4:28 pm
Jump to forum
Jump to topic

Re: C-code error

Hi Jan. If it is in the C code but not in the assembler it is probably being optimised out. I haven't done much with the BoostC compiler, but the ',' (comma) operator is usually used in C to sequence operations. This means that the code: while (baudcon,ABDEN) { } Will be reduced to: while (ABDEN) { ...
by JonnyW
Sat Jan 26, 2013 11:53 am
Jump to forum
Jump to topic

Flowcode v5.5 with DSP for all variants

Good morning. Just to let you all know that there is a latest install of Flowcode v5.5 for all variants available. This is the first Flowcode version to package DSP components. You can upgrade your current version through Flowcode. Select 'Online Resources' or 'Check For Updates' in your registered ...
by Benj
Thu Jul 04, 2013 1:50 pm
Jump to forum
Jump to topic

Re: 5 stars FORUM

Thanks Jan,

I also want to say thank you to all our members who take the time to help someone out with a problem or just to explain something. Your input is very much appreciated and we would be nothing without our users.
by kersing
Wed Jul 10, 2013 5:44 pm
Jump to forum
Jump to topic

Re: Printing all flowcodes

Hi Jan, Have you tried to change the annotation options in the 'Global Options' (View menu)? What I would do is: In the Annotation options make sure 'Limit description size for all icons' and 'Limit annotation size for all new icons' are unchecked. In the macro drag the right border of the annotatio...
by Benj
Wed Sep 04, 2013 4:10 pm
Jump to forum
Jump to topic

Re: What is mLoader

Hi Jan, We are currently doing some work on the mLoader tool so that might explain some of the issues such as missing help. mLoader is designed to be our all in one programming software for taking the Flowcode output file and passing to the Matrix hardware. Currently it supports the following hardwa...
by fotios
Sat Nov 23, 2013 12:43 pm
Jump to forum
Jump to topic

Re: RC5 compo problem on P18F4520

Jan i think you need a fully RC5 compatible remote control handset. It is not only the period, it is also the transmition protocol structure. An RC5 transmiter transmits: 2 start bits for AGC of receiver, 1 toggle bit, 5 address bits and 6 command bits. There are enough compatible handsets on e-bay ...
by kersing
Sun Nov 24, 2013 4:37 pm
Jump to forum
Jump to topic

Re: Use Or in Switch

Hi Jan, In the first case you are probably trying to check if the counter is 17 or 22 or 33. However, what Flowcode reads is you are trying to check if counter is: dec bin 17 0001 0001 22 0001 0110 33 0010 0001 --------------------- OR 55 0011 0111 So it compares your value to 55 (decimal). When add...
by Kenrix2
Mon Mar 10, 2014 10:34 am
Jump to forum
Jump to topic

Re: Reset Timer1

I think what might be confusing to you is your assumption on #1 of your original post. The statement in 21.3 can be confusing. It does not change your prescaler settings, it resets the prescaler counter, which is exactly what you would expect it to do. So, yes, clear the tmr1l(do that 1st) and tmr1h...
by Benj
Tue Apr 01, 2014 4:10 pm
Jump to forum
Jump to topic

Re: Suggestion for new Flowcode version

Here's a go at what you requested. Here is the component file it should be placed into the "C:\Program Files (x86)\Flowcode 6\components" folder. Currently the time and date will update every time you run the sim or compile. The build version only changes when you compile but I left the pr...
by Benj
Tue Apr 15, 2014 11:41 am
Jump to forum
Jump to topic

Re: File management

Hello Jan,

Try this, in the "View -> Global options" menu select the "Locations" tab and change the "Send compiler output to...":

from

$(srcdir)


to

$(srcdir)\Temp


Let me know how you get on.
by Steve001
Thu Apr 24, 2014 8:18 pm
Jump to forum
Jump to topic

Re: DesignSpark PCB

attached is the ULP files to extract eagle files to a .eil file Eagle library files (.lbr) contain Schematic symbols, PCB footprints and Part/Component information all in one self contained file. Design Spark uses individual files for each library type Schematic symbols, PCB footprints and Part/Comp...
by medelec35
Mon Jun 23, 2014 10:53 am
Jump to forum
Jump to topic

Re: version 6.0.9 update

Hi Jan,
You can see the changes in changes.txt which will be located:
C:\Program Files (x86)\Flowcode 6\logs
If 64 Bit windows.

or
C:\Program Files\Flowcode 6\logs
If 32 bit windows.

Martin