Type in the full discussion title or a part of it.
Discussion Title Created date
[ASM]STORE/LOAD macros
I might be having brain fade here.... I see STORE/LOAD macros defined for ASM that hide the complexity of locations being in I/O or memory space, but I can't get why there are a...
Tuesday, 27 April 2010 - 07:50
Real noob - F_CPU
Whilst (self-declared) being reasonable at ASM, I'm forcing myself to learn C and have much (all) to learn. So in this code (based on a smiley workshop), I can change F_CPU to...
Friday, 26 February 2010 - 21:54
ATMega1284 16 bit counters
http://www.atmel.com/dyn/products/product_card.asp?part_id=4726 quite clearly says the ATMega1284 has two 16-bit counters. The datasheet downloadable from that page only indicates...
Tuesday, 9 February 2010 - 14:02
[FIXED]ATMEGA168 - TMR/CTR1 Clock prescaler - not 128 :(
Having done a fantastic piece of design work for measuring an input pulse frequency using the Input Capture Pin, written some code and tested it in Studio4 - I find that CLCKio/...
Monday, 8 February 2010 - 14:18
[ASM]Using a macro to easily insert debug statements
I want to track my app by sending strings out of the UART at appropriate times. So, for example, in the once-per-second interrupt handler I want to put (and can put, and it works...
Wednesday, 20 January 2010 - 10:24
Multiplying 8-bit number by n/10ths
You may recall brum103's excellent post in: https://www.avrfreaks.net/index.p... ...where a divide 8 bit number by 10 algorithm is given as: ; the input number must be in...
Friday, 29 December 2006 - 01:03
Dragon...and smoke and flames :-(
Well, just from me at the moment, until I take a blowtorch to it :evil: ...but I got your attention! Bought myself one for Christmas. Seems to work fine when it works but it...
Wednesday, 27 December 2006 - 21:20
Input detection trickery required!
I'm sure I've seen this somewhere, but searching here and Googling hasn't easily found it.... I want to detect three states of high, low and open circuit on one input pin with no...
Sunday, 8 October 2006 - 14:54
Analog Comparator
Will this work in principle - I could prototype it, but it's not trivial and hopefully 'Freaks will come good (yet) again... ATMega 168, if it matters.... 1) Set the analaog...
Tuesday, 12 September 2006 - 22:10
Simple SPI program on ATmega168 :-(
Hi Freaks! I have a simple test program for SPI. On the device - It doesn't work at all - no port B outputs, when monitored with a scope On the Studio simulator, when SPIF is set...
Sunday, 10 September 2006 - 23:12
I think I need a switched mode regulator....
I need 5v at 380mA when powered from a car battery, nominally 13.2V, but varying between 10v and 14.5V At 14.5v supply, a 7805 is dissipating 3.6 watts and a serious heatsink (...
Sunday, 27 August 2006 - 08:23
USART0 ATmega168 ASM compile problem
I must be going mad.... I'm re-purposing some ATMega8515 code to ATMega168 code and having problems in the USART area. The standard code in the '168 datasheet for simple USART...
Monday, 7 August 2006 - 08:44

Pages