Post Created date
variable overflow issue
all I do outside the interrupt is reference the variable fprintf(LCD,"t:%-6d",t1_ovf_count"); In the ISR, I use a modulo on the count to test when a 1/4 of a second has passed...
Friday, 2 April 2010 - 18:31
SPI fail
david.prentice wrote: The FatFS code should work straight out of the box. Remember to implement the Card-Detect and Write-protect. ... Yeah it SHOULD work straight out of the...
Wednesday, 24 March 2010 - 20:01
[TUT] [C] Newbie's Guide to AVR Timers
Koshchi wrote:Quote:I have a question about CTC mode. If I change the OCR value in the interrupt will it cause any problems. In CTC mode the OCR register is not double buffered,...
Friday, 26 February 2010 - 18:53
[TUT] [C] Newbie's Guide to AVR Timers
I have a question about CTC mode. If I change the OCR value in the interrupt will it cause any problems. I am trying to control a servo (more accurately than PWM will give me) by...
Friday, 26 February 2010 - 18:07
sprintf with prog_char
So I need to copy the progmem string to RAM before use? OK, I thought that the _P variant of sprintf accepted those types of arguments. I was then trying to figure out if the _P...
Tuesday, 8 December 2009 - 22:41
[TUT] [C] Getting SD/MMC card working painlessly with FatFS
david.prentice wrote:It is always easiest to make as few changes as possible when porting / adapting some code. Just adapt the USART calls to the equivalent LCD calls. e.g....
Saturday, 5 December 2009 - 01:21
[TUT] [C] Getting SD/MMC card working painlessly with FatFS
Hi, I am trying to set up the demo but do not have the ability to use the USART on my controller at the moment but do have a working LCD for display. Looking at the demo code, I...
Friday, 4 December 2009 - 20:20