Post Created date
UART/HyperTerm: I *THINK* This Is a New One
If you can I'd highly suggest using a different terminal program to do your serial debugging. I personally find Bray's Terminal to be very good.
Thursday, 7 March 2013 - 15:48
It looks like he is trying to detect a pulse, so it's probably somewhere in the range of 40-160 peaks per minute.
Thursday, 7 March 2013 - 15:40
Nibble Rotate - How To?
A cute way of doing this in C is to swap adjacent bits, swap the pairs that were just swapped, and then swap the nibbles (continue for larger sized variables). x = ((x >> 1)...
Thursday, 3 May 2012 - 23:28
compare two registers in assembly
Maybe he's comparing 16 bit values, and he isn't doing a carry between the high and low bytes?
Thursday, 12 April 2012 - 16:50
"Invalid register" error
My copy of the AVR Instruction Set Manual says SBR only works with r16-r31. Why do you think "I should be able to use the SBR instruction to set bits" in TWCR? As for your "...
Wednesday, 22 February 2012 - 01:20
im not able to run motor using pls
Quote:USB 3.0 provides up to 150ma (500ma max by special provision). Unless something has changed USB 3.0 hosts can provide up to 900mA for configured devices, and USB 3.0 devices...
Thursday, 29 December 2011 - 18:31
Atmega168 and DS1307 Clock Bug
zipfactor wrote:8,000,000Hz / 1024 Prescaler = 7.8125kHz period of: 1/78,125Hz = 12.8 microseconds I didn't really look at your code so I may be missing the obvious but do you...
Thursday, 11 November 2010 - 03:44
Comparison of fp perf of AVR and Android ARM
bobgardner wrote:I have an fp benchmark (search here for fpbench.c) that gives me about 60k fp ops a sec on an 18mhz AVR. I compiled the same program on java on eclipse and ran it...
Tuesday, 1 June 2010 - 15:21
Why does an AVR not have a DAC?
Quote:In some projects it would be really handy to have an analog output on an AVR. (No PWM). Why not build one yourself then? A R2R resistor network, serial->parallel shift...
Saturday, 22 May 2010 - 04:10
Sponge short circuits my board when "dry" !!
It doesn't really matter, your advice was sound. The pink foam is going to suffer from the same problem that the pink bags suffer from. Specifically the chemicals that are in them...
Wednesday, 14 April 2010 - 01:50
GCC compiles BAD code with "optimization" on... H
CNC4ME wrote:I agree that the incrimenting of UpdateVal_PWM should be optimized out... but PORTE PIN7 should only be toggled every 65500 cycles of the main loop. DO PEOPLE AGREE...
Thursday, 8 April 2010 - 19:11
125KHz RFID Read Only 64bit code question
0010285420 converted to binary is 1001 1100 1111 0001 0110 1100 If taken 4 bits at a time, with the parity bit added those match up with rows 5-10 of your list. 0x12 = 10010 0x18...
Saturday, 6 March 2010 - 20:28