Post Created date
Modulo operator is not executed by avr-g++ on template parameter.
avr-mike, thanks, it looks like you've actually hit it. I checked the compiled lss files, and it looks like the answer is the good old signed-unsigned conversion convention...
Monday, 11 February 2019 - 15:48
Modulo operator is not executed by avr-g++ on template parameter.
Thanks for your time to check it. You  are quite right, two lines were accidentally deleted in the copy-paste. I copied it from an ssh-vim environment end had to reshape it,...
Monday, 11 February 2019 - 08:24
Variables and Interrupt Again
Because you set it to 0, 5, 10->0, 5, 10->0, 5, 10->0, 5 ... What code optimization do you use? Debuggers are highly fooled by the optimization. 10->0 can as well as...
Thursday, 16 June 2016 - 12:29
Variables and Interrupt Again
if (count20ms == 10) { PORTD |= (1 << PD7); // Indicates that counter incremented pulseDurationCount = 0; count20ms = 0; }In this loop PD7 is not...
Thursday, 16 June 2016 - 11:28
Why is a pointer's value changed when I use it in a function?
I think your buffer will not turn around the end when you read a buffer, longer than the leftover. It seems Rather complicated anyway. Why dont't you put() and get()  single...
Monday, 13 June 2016 - 04:41
I2C Slave on an ATtiny45
Thank Don, for the usitwislave. It happened to be a great help to me. I need to use it in a tiny2313 slave, where the master (mega644) initiates a Write-Restart-Read sequence of...
Wednesday, 9 March 2011 - 20:25
Debugwire blocks ISP
Thanks all. I'll give it a go.
Monday, 28 February 2011 - 09:30
Debugwire blocks ISP
Reset line is completely free and connected directly to the ISP header. Which manual should I check? Atmel ATtiny2313/V doesn't seem to explain it. I followed the JTAGICE mkII...
Saturday, 26 February 2011 - 15:27
New to Linux and Embedded Systems (NGW100)
Well, I had been sceptic about Linux till I got into a must-use-it situation regarding an NGW100 based project. To me embedded linux was the entrance to understanding (some) Linux...
Friday, 7 May 2010 - 09:51
Microperl basic questions
Yes, you are right. (Kind of used to it :) ) I managed to find PATH wired in busybox source code, and it can be expanded with BB_ADDITIONAL_PATH. Taking a U-turn to perl, my...
Monday, 8 March 2010 - 21:01
Microperl basic questions
Thanks. 1: I'll give it a go. 2: How is the default PATH defined then with busybox? I just cannot figure it out. (Hm, I am actually off-topic in my own thread. :? )
Sunday, 7 March 2010 - 11:50
U-Boot Bootloader Flashing with AVR Dragon
avr32program: 4.0.0 AVR Dragon version {0x0101, 0x0200} The solution is not so stable as to load a complete root fs. However it is good enough to fix a broken u-boot.
Monday, 1 March 2010 - 19:30