Post Created date
atmega16 interrupts
Gee, you're right (of course). This is from a real app that's been controlling my heating system for ~4 years. Guess I've been real lucky, lots of conditional tests in the app and...
Tuesday, 3 April 2012 - 20:21
atmega16 interrupts
I must admit that those examples were a bit stupid and could confuse. But... In my app register RTC is reset to 0 again in main and will never be larger than 2 in worst case....
Tuesday, 3 April 2012 - 19:32
atmega16 interrupts
This is an example of some interrupt vectors, placed just below reset vector where program start. .cseg jmp do_reset ;program start .org int1addr jmp enter_sleep ;SHUT...
Tuesday, 3 April 2012 - 19:01
atmega 324p SPI problems
Quote:But we had better not appear ungrateful and complain.ROFL Maybe I stepped over a line mentioning Atmel.. Sorry for that, I will never do it again.
Tuesday, 3 April 2012 - 18:26
atmega 324p SPI problems
Quote:Are you saying I should try to just set it equal to something along the lines of: PORTB = b1000 I'm really not into C but I think you need something like this to clear a...
Tuesday, 3 April 2012 - 18:13
atmega 324p SPI problems
And if you like to look at the .def file you find it here: C:\Program\Atmel\AVR Tools\AvrAssembler2\Appnotes
Tuesday, 3 April 2012 - 17:45
longer connections between buttons and processor
Quote:please tell me about hardware and software solutions. This is a software filter I used when my fridge relay also tried to control the hatch of my furnace. The first part...
Tuesday, 3 April 2012 - 17:42
atmega 324p SPI problems
From m324p include file: ; ***** SPI ************************** ; SPDR0 - SPI Data Register .equ SPDRB0 = 0 ; SPI Data Register bit 0 .equ SPDRB1 = 1 ; SPI Data Register bit 1 ....
Tuesday, 3 April 2012 - 17:29
atmega 324p SPI problems
For reasons only known to Atmel m164 have no 0 added but both m324 and m644 does. Surprised me when I migrated from m164 to m644. /SS not configured as an output will make SPI non...
Tuesday, 3 April 2012 - 17:27
longer connections between buttons and processor
My bets are on an external pull-up resistor (1-10k could be a good starting point) and a software filter to filter out noise spikes. And since this is a hunt for cheap, use the...
Tuesday, 3 April 2012 - 16:19
Need help in adc controlled led
Quote:they want that their students should take these topics in their assignments ,or in projects or in thesis. teachers and students both learn in this way.Might be the reason...
Tuesday, 3 April 2012 - 15:52
Please help with Stack Operations
Quote:'Tain't obvious that push and pop are required at all. No, I think most of us already agreed that we would handle this as you suggest. Unfortunately the assignment forces...
Tuesday, 3 April 2012 - 15:40

Pages