Type in the full discussion title or a part of it.
Discussion Title Created date
Converting uint32_t iv[2] array to uint64_t and back?
I have a 64-bit IV (initialization vector) stored as two uint32_t integers in an array, but I want to increment the iv as a single 64-bit number.   Is it best to try to...
Wednesday, 28 November 2018 - 14:21
Does sleep_mode() even work?
On this page it says that you can call set_sleep_mode() and then call sleep_mode() to go into sleep. So my code is:   void GotoSleep( void ) { set_sleep_mode(...
Wednesday, 5 September 2018 - 06:45
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...
Sunday, 5 June 2016 - 15:58
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...
Friday, 15 February 2013 - 16:37
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...
Thursday, 28 July 2011 - 17:03
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...
Thursday, 28 July 2011 - 11:59
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)...
Thursday, 23 July 2009 - 14:45
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...
Wednesday, 22 July 2009 - 16:12
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...
Wednesday, 22 July 2009 - 13:58
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...
Tuesday, 21 July 2009 - 14:41
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...
Wednesday, 17 December 2008 - 13:38
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...
Monday, 15 December 2008 - 22:24

Pages