Post Created date
A water drop effect ?
Good old Bresenham's Algorithm.... Implemented that 20 odd years ago on a 6502 doing a raindrop style effect myself. Two circles at r and r+2 looked best if I remember correctly...
Monday, 9 March 2009 - 16:56
Conflict with Timer0, Timer1, Timer2 interrupts in Atmega16
Driving the pins in the interrupt handler with another handler active will always potentialy have jitter equal to the time taken to handle the other interrupt. Simpelest solution...
Wednesday, 4 March 2009 - 17:26
converting LONG "Little Endian" to LONG
Quote:GCC stores int's and long's in little endian but, by a strange quirk of fate, the AVR CALL instruction puts the return address on the stack in big endian format. That is...
Friday, 13 February 2009 - 10:51
converting LONG "Little Endian" to LONG
On an 8 bit processor there is not much inherent endianes but haveing just checked the instruction set documentation for the avr they look to be little endian with regard to 2...
Thursday, 12 February 2009 - 23:25
[TUT] [C] Getting SD/MMC card working painlessly with FatFS
No need for the f_stat the following is working for me. FIL log_file; // system logfile stdout gets piped here. ... res = f_open(...
Thursday, 8 January 2009 - 23:01
SD card and In System Programming. Hardware setup?
Thanks for that. On my breadboard setup I have changed the aux power controll pull-up to a pull-down so I keep power to the SD card in reset. I have added a pull-up to ssel...
Thursday, 13 November 2008 - 22:54
My big project - need advices!
Sounds an interesting project!! Just interested in what the power will be presumably some solar panels with suficent tilt to stop snow setteling? Then some battery that's good...
Tuesday, 14 October 2008 - 16:07
AVR based boost regulator ...
There are also the very good http://taskled.com/index.html drivers already out there that are actualy avr based with most features you could think of all ready built in. I have...
Monday, 6 October 2008 - 22:20
SD card communication problem
Quote:I believe that avrgcc supports something like "printf over serial" but I don't know how to set it and use it... Have a look at the example projects with the AVR libc...
Monday, 29 September 2008 - 12:33
AVR Studio 4 erasing my EEPROM
I strugeled with this till I discovered the fuse bit that stops the eeprom being wiped on an erase. Can not remember the name but look at the fuse tab. Ifor "EESAVE"
Wednesday, 17 September 2008 - 15:30
TWI interrupt strategy
I think you can use restarts if you are going to the same device e.g. when writing an address followed by reading data you need the transaction to be atomic, that is what the...
Thursday, 11 September 2008 - 23:51
Why code this way?
Quote: In the absence of any other rules I propose to work in base 7, and make SPIF=1. Nice try but in base 7 (1<<1) == 10 In answer to the original question of why do it...
Wednesday, 13 August 2008 - 23:57

Pages