Type in the full discussion title or a part of it.
Discussion Title Created date
Can't get external interrupt button working
Hi,   I'm using INT0 connected to a normally open button but to my amazement it's doing exactly the opposite of what I expected: when I turn it on I get loads of interrupts...
Sun. Jun 5, 2016 - 03:58 PM
Reading the LCD busy flag doesn't work
I've written a custom HD44780 driver for my alarm clock, which works fine using timing delays. However, I'm now trying to get it to work with the 'busy flag' as well. If I...
Fri. Feb 15, 2013 - 04:37 PM
Anyone using KICAD for their designs?
I've been a longtime Eagle user but the continuous upgrading is starting to get to me. I played around with KICAD a couple of years ago and it looked a lot like Eagle although it...
Thu. Jul 28, 2011 - 05:03 PM
One second interval too long?
I'm trying to build an alarm clock with a Teensy 2.0 (ATMega32U4) and I've programmed it to generate an interrupt every second using this code: // // setup timer1 to...
Thu. Jul 28, 2011 - 11:59 AM
Difference between clear/set bit macros
What would be the difference between: #define set_bit(sfr, bit) (_SFR_BYTE(sfr) |= _BV(bit)) #define clear_bit(sfr, bit) (_SFR_BYTE(sfr)...
Thu. Jul 23, 2009 - 02:45 PM
Setting oscillator bits with JTAG-ICE?
I've recently used JTAG-ICE for the first time to debug a program, but I can't figure out how to set the crystal oscillator bits. Could someone give me a hint? Thank you for your...
Wed. Jul 22, 2009 - 04:12 PM
Defintion in TinyFAT conflicts with stdio.h
I'm using TinyFAT (tff.h / tff.c) and I'm also using the snprintf() function. When I include stdio.h into my program I get all sorts of errors that TinyFAT is already declaring...
Wed. Jul 22, 2009 - 01:58 PM
How do I probe for a JTAGICE in AVRStudio 4
I'm using AVR Studio 4.14 and I have a Olimex AVR-JTAG-USB which is supposedly compatible with ATJTAGICE. I can't, however, find a way to get AVR Studo 4 to probe for it or...
Tue. Jul 21, 2009 - 02:41 PM
Can you spare a few bytes, sir?
I'm trying to recompile an old C program which I orignally made for a 4K PIC processor for a Tiny2313 with 2K memory. Problem is, with all the optimizations turned on and all...
Wed. Dec 17, 2008 - 01:38 PM
Compiler conflict
I'm using the ELM File FAT File Ssytem (TinyFFS) and in my code I'm using both the TinyFFS function fprintf() and the snprintf() function from stdio.h. But it seems including both...
Mon. Dec 15, 2008 - 10:24 PM
Casting bitfield struct to integer
I have a struct: struct { unsigned char a : 4; unsigned char b : 4; } VariableA Since it consists of exactly 1-byte I want to put it into an int so I can use fprintf to...
Mon. Dec 15, 2008 - 03:47 PM
Easy to use C library
I'm not sure how people in this forum view this but I personally believe that the avr-libc library is not as easy to use and user-friendly as the commercial offerings. Most...
Sun. Dec 14, 2008 - 10:22 AM

Pages