Search found more than 2456 matches

Return

by fotios
Sun Jul 03, 2011 7:16 pm
Jump to forum
Jump to topic

Selecting among 8 (or more) inputs using 2 keys and EEPROM

Hello In the current project I have included just 8 inputs, to be compatible with EB004 Led board connected at port D of EB006 multiprogramer. In practice, the number of inputs could be 256 according to the size of an EEPROM location (address) of micro. The EB005 LCD board is connected at port C and...
by fotios
Wed Jul 13, 2011 9:39 am
Jump to forum
Jump to topic

Hi-Fi audio preamplifier using Burr-Brown PGA2310

I decided to build this project, firstly to help a member of forum and secondly because it was a good opportunity for me to explore new devices such as rotary encoders and the widely used in audio industry Stereo Volume Control PGA2310 of Burr-Brown. The whole project will be a manually – remotely c...
by Benj
Fri Jul 15, 2011 4:23 pm
Jump to forum
Jump to topic

Re: Lottery Numbers Generator (Flowcode V4)

Hm that's interesting I would have thought that would be working, I will see if we can find the cause of that bug in the simulation and get it fixed.
by JonnyW
Mon Jul 18, 2011 9:47 am
Jump to forum
Jump to topic

Re: Lottery Numbers Generator (Flowcode V4)

Hi Martin. If it helps, this wont be an issue in v5 due to greater signed/unsigned control but for now a small mod to the program would fix this. We suspect the issue is that the random() call on the PC is being pushed into a signed 32-bit value. This is then cast to a float (as all v4 simulated val...
by Steve
Wed Jul 27, 2011 3:54 pm
Jump to forum
Jump to topic

Flowcode V4.5

We have now released Flowcode V4.5 and you can download it by running Flowcode and select "Help...Check for updates" from the menu. This update contains support for more chips and also has a load of other improvements. More information can be found in these links: http://www.matrixmultimed...
by Jan Lichtenbelt
Sat Oct 09, 2010 12:56 pm
Jump to forum
Jump to topic

Transparent and Solid Drawbox of Graphic display

Drawbox has two parameters, Transparent and Solid. That means four combinations. See the picture with four boxes, all first filled with the number 100 and there after used Drawbox(...Transparent,Solid). The foregroundcolor is black (RGB=000) and the backgroundcolor is yellow (RGB=770). Transparent=1...
by Steve
Fri Jul 29, 2011 9:00 am
Jump to forum
Jump to topic

Temporary fixes for V4.5 PICmicro release

There are a number of small fixes to the recent V4.5 release that we will make available here. If you are experiencing these issues, you can download and use these new files in your copy of Flowcode. The "C" code files should be placed in the "Components" subfolder of you Flowcod...
by Benj
Fri Jul 29, 2011 12:45 pm
Jump to forum
Jump to topic

Re: Graphic display

Hello Medelec, Right I know why this problem is happening. The old gLCD C file used to take the colour data, do a bit of checking and then pass it straight into the gLCD. This meant you had to know what bit depth each of the colour variable had to be for each display. I have changed the code for the...
by fotios
Sun Aug 14, 2011 9:40 pm
Jump to forum
Jump to topic

Re: Encoder triggered by Port B interrupt

Hi Martin Thanks for the reply Just now i tried your project on EB006 with the ALPS encoder. In general is working as you described. There are some issues due to detents of encoder: 1) The counter increments or decrements by "2" (e.g. 2-4-6-8..... 24-22-20-18....) and that is correct for t...
by JohnCrow
Wed Aug 17, 2011 5:28 pm
Jump to forum
Jump to topic

Re: TPA81 Infrared Thermopile

Slight improvment. I've used an interupt to call the Max-Min reset function.
Using the INT, the reset is called by pressing RB0

TPA81- gLCD-LCD-Software V5 - Int.fcf
by Benj
Mon Jul 11, 2011 3:38 pm
Jump to forum
Jump to topic

Re: gLCD printing number Problem

Hello Pete, Right sorry about that I will make sure that this gets added to the help file. What you need to do is as follows. Go into the properties of the gLCD component and tick to use the custom font. Scroll down to the last line of the font code which should look like this. 0201020100 Change thi...
by fotios
Wed Aug 31, 2011 12:32 pm
Jump to forum
Jump to topic

Re: RC5 on a 16F88

Hello Sean & Bernard Just now i came accross the FlowCode new RC5 component, help file. After reading (most carefully this time) the component macros, i made a new program using these macros. I used exactly the same hardware configuration that described in my previous post. The program runs with...
by brandonb
Sun Sep 04, 2011 5:27 pm
Jump to forum
Jump to topic

Re: values?

would agree with rotary encoder, but instead of the usual quadrature type, it would be much better to use an absolute (positional) type that uses Gray Code. i've never seen one, can you show me the perfect fit with a link to one that i could buy in the usa from digikey/mouser or equivenant,(when it...
by Benj
Tue Sep 06, 2011 12:26 pm
Jump to forum
Jump to topic

Re: ADC 18f4525

One slight thing to add on top of mine and Martins posts. This effects PICs and maybe also some PIC16BITs. The 18F4525 device is effected by this problem. Some devices have a bit of a strange analogue peripheral which only allows you to switch on analogue pins in series. Eg you cannot use RA1 as an ...
by Steve
Tue Sep 06, 2011 3:31 pm
Jump to forum
Jump to topic

Re: Adding configuration settings to FCD files

Hi Martin,

Did you also add the "ConfigOverride=1" line in the [Device] section?
by fotios
Tue Sep 06, 2011 10:10 pm
Jump to forum
Jump to topic

Re: values?

Here is the circuit diagram of project. I hope that will be usefull to you, especially in connections of LCD display.
Thanks for your attention
Fotis
by fotios
Sat Sep 17, 2011 5:54 pm
Jump to forum
Jump to topic

Re: values?

What can i say... breathless Martin :shock: That is a MASTER-PIECE OF PROGRAMMING TECHNIC . And a very good lesson to all of us. I have to study deeper this clever code, nice way to disable double Port interrupts. These "string manipulation" calculations are excellent, i have to study them...
by fotios
Sun Aug 14, 2011 8:08 pm
Jump to forum
Jump to topic

Re: Encoder triggered by Port B interrupt

Hello Martin I was busy 3 days ago with rotary encoders like you. The difference is that i experiment with detent equiped encoders, an ALPS a BOURNS and a Panasonic. As for the rest i also use a P16F88 and instead LCD i use the Led board. Until now, i haven't managed to use the PORT interrupt. Deten...
by Jan Lichtenbelt
Sun Sep 25, 2011 1:48 pm
Jump to forum
Jump to topic

Re: Comparator interrupt

Hi All, An example program with interrupts on 2 comparators with comparator reference voltage (CVRCON register) In this program Vref changes from 0 to 3.125 Volt in steps of about 0.2 Volt (208mV) If Vref crosses the input voltage on either RA0 or RA1 and interrupt will occur. Kind regards Jan Licht...
by mauro
Tue Sep 27, 2011 8:09 pm
Jump to forum
Jump to topic

Re: 16F628A EEPROM compile error.

Thank you Martin,

Checked on hardware... all ok.. :D
by Spanish_dude
Wed Sep 28, 2011 4:08 pm
Jump to forum
Jump to topic

Re: Order not received.

Hi, It's because of the "MOD" in your calculation box. You could change your calculation box to : if (Count1 >= 3) Count1 = 0; else Count1 = Count1+1; (This can be done with Flowcode icons.) Or you could use a C code block and ad this : Count1 = Count1 >= 3 ? 0 : Count1 + 1; http://en.wiki...
by Rosenbaum
Thu Sep 29, 2011 12:18 pm
Jump to forum
Jump to topic

Re: Error in the ADC definition

The file for pic16F1827 is "PIC_ADC_23.c" in the "Component" Folder.
I attached my file, which is changed to work.
by Steve
Wed Oct 12, 2011 8:37 am
Jump to forum
Jump to topic

Re: If statement not working with OR?

In this context, "OR" is inappropriate. "OR" equates to the C code operator "|" which is a bitwise-OR operation (e.g. 5 OR 12 = 13, because 5=0b0101 and 12=0b1100, giving 0b1101 = 13). You want the "||" operator which is a logical-OR operation - e.g. if ( 5 > ...
by JonnyW
Wed Oct 12, 2011 10:25 am
Jump to forum
Jump to topic

Re: If statement not working with OR?

Morning. Both operators can be used on any integer values, regardless of the bit size of that value. The reason why OR works as expected in the conditional is C (and Flowcode) treat 'true' as 'not false', therefore any non-zero value is true. For conditionals it is not usually as efficient, however,...
by Harry Tuttle
Wed Oct 12, 2011 10:14 pm
Jump to forum
Jump to topic

ByVac LCD 2.4" Colour with Touch Screen

For those in peril with I2C. This might be of use to anyone just starting with a ByVac LCD Touch Screen. I am running it on an ECIO but you could change this to any chip with I2C master or use bit banging. The example below covers text, back ground and foreground colours, drawing rectangles circles ...