Search found 11 matches

Return

by medelec35
Mon Jan 30, 2012 11:12 pm
Jump to forum
Jump to topic

Re: Multitask LEDs?

Hi rocket200, Yes I would personally use an interrupt. I have used timer0 since all timers only simulate with Flowcode V5. I have attached a flowchart I believe is the simplest way to flash two LED's at two different rates. If you want to experiment you could try just using 1 variable and toggle two...
by medelec35
Tue Jan 31, 2012 1:14 am
Jump to forum
Jump to topic

Re: Multitask LEDs?

Ah that's the difference. You have AVR, I have PIC. I'm not sure on the differences to be honest. I don't know enough about timer 0 interrupts on AVR, and if it uses fosc/4 like PIC chips do? One thing I have noticed unlike PIC version the interrupt frequency is grayed out on my AVR version 4.3. you...
by brandonb
Fri Feb 10, 2012 3:51 am
Jump to forum
Jump to topic

Re: How big is my program?

you can see this when you download to chip or can do a quick convert to hex, if you read through the programmer progress it shows what % used and unused
by DavidA
Tue Mar 13, 2012 12:10 pm
Jump to forum
Jump to topic

Re: FAT 16 Not Working

Hello,

Would it be possible for you to post your fcf file here
by Benj
Mon Mar 12, 2012 5:31 pm
Jump to forum
Jump to topic

Re: FAT 16 Not Working

Hello,

I have just tried compiling the FAT component C file from my installation and this is working correctly.

AVR_FAT16.c


Let me know how you get on.
by Benj
Tue Mar 13, 2012 2:54 pm
Jump to forum
Jump to topic

Re: FAT 16 Not Working

Hello,

Thanks for posting the files.

Here is a updated component c file that should allow the compilation to work correctly.
by Benj
Tue Mar 13, 2012 7:02 pm
Jump to forum
Jump to topic

Re: FAT 16 Not Working

Hello, Yes FAT32 should be supported in this C file. To use it you need to find this line in the C file or use component customisation on the defines section and find the line. #define MX_FAT_TYPE 0//%l //0-FAT16(FAT) / 1-FAT32 / 2-FAT16&32 Change the number to suit the file system you require. ...
by JohnCrow
Thu Mar 15, 2012 2:02 pm
Jump to forum
Jump to topic

Re: FAT 16 Not Working

Hi Not sure if this will help but I had a problem with the card reader quite some time ago. (The component has been updated since then though) I found a Sandisk 2GB class 2 card worked fine but a Panasionic 2GB class 4 was not recognised. i.e retval gave 255 We eventually got it to work by changing ...
by Benj
Thu Apr 05, 2012 11:16 am
Jump to forum
Jump to topic

Re: Can't Change Individual Ports

Aha your using AVR not PIC, sorry about that. Ok this section. //set up ports MX_7SEG1_COMMON_DDR = MX_7SEG1_COMMON_DDR | ~%o; MX_7SEG1_SEGMENT_DDR = MX_7SEG1_SEGMENT_DDR | ~%p; Change to this. MX_7SEG1_COMMON_DDR = MX_7SEG1_COMMON_DDR | ~%o; DDRD = DDRD | 0x01; DDRB = DDRB | 0x7E; And this section....
by Benj
Wed Apr 25, 2012 9:37 am
Jump to forum
Jump to topic

Re: Nokia 6100

Hello, That looks very much like the LCD we used to supply on the EB043 v1 board so yes I would think the display should be compatible. I seem to remember there were about three variations of the display made by different manufacturers but they should all work with the component code. There may be a...
by Benj
Fri Sep 14, 2012 3:03 pm
Jump to forum
Jump to topic

Re: FAT Keeps Returning 255

Right here we go here is the semi official release for the new and improved FAT component. FC5_GENERIC_FAT16.c The Generic File needs renaming to match the FAT component C file from your Components directory. Onc eyou have renamed the file copy it into the components folder replacing the file that c...