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...
Tue. Apr 3, 2012 - 08:21 PM
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....
Tue. Apr 3, 2012 - 07:32 PM
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...
Tue. Apr 3, 2012 - 07:01 PM
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.
Tue. Apr 3, 2012 - 06:26 PM
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...
Tue. Apr 3, 2012 - 06:13 PM
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
Tue. Apr 3, 2012 - 05:45 PM
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...
Tue. Apr 3, 2012 - 05:42 PM
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 ....
Tue. Apr 3, 2012 - 05:29 PM
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...
Tue. Apr 3, 2012 - 05:27 PM
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...
Tue. Apr 3, 2012 - 04:19 PM
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...
Tue. Apr 3, 2012 - 03:52 PM
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...
Tue. Apr 3, 2012 - 03:40 PM

Pages