Post Created date
Correct spelling? Diode ORed or OR'd or what?
awneil wrote: An apostrophe indicates that something's been omitted - so what do you think is omitted in "Diode-OR'd" ? The "e", obviously.
Tuesday, 7 April 2015 - 04:47
Atmega1284 struct problem
berkay91 wrote: program can be bad, but according to my trials these codes works correctly several microcontroller like image which is added in below, ı want to know why...
Sunday, 5 April 2015 - 16:23
USART can not receive byte
khanjala wrote: this is a code I use for toggling LED int main(void) { DDRB = 0xff; while (1)   { PORTB ^= 0xff; _delay_ms(1000...
Monday, 30 March 2015 - 19:35
Issues with ATTINY2313 and 16x2 LCD with H44780 driver in my C program.
topstring and winner are not proper strings. They don't have null terminators.
Monday, 30 March 2015 - 05:21
Getting make.exe: *** No rule to make target `main.elf', needed by `elf'. Stop. when using "make all"
clawson wrote: When you issue "make" it's really an implied "make all". Not exactly. "make" uses the first target in the Makefile if one is not given on the command line. It's...
Tuesday, 24 March 2015 - 15:57
sqrt function for long variables
No, Koshchi's function works just fine with any unsigned 32-bit input, and it doesn't use any types bigger than uint32_t. The output will always fit in an unsigned 16-bit value,...
Saturday, 21 March 2015 - 17:21
problem with util/delay
You changed from pin C5 to C6. Was that intentional?
Saturday, 21 March 2015 - 17:05
sqrt function for long variables
65536 is one larger than the largest unsigned 16-bit value. Square that to get 4294967296. That's too big to fit in an unsigned 32-bit variable. So you'll end up taking the square...
Saturday, 21 March 2015 - 16:12
Bool, or not to Bool
awneil wrote: However, it's usually easy to isolate such dependencies into an "interface" layer - but having something like bool rely upon proprietary stuff scatters the...
Friday, 20 March 2015 - 15:03
Bool, or not to Bool
awneil wrote: IIRC, a bit is returned in the carry flag - so that probably is faster & saves space. Don't remember how bits get passed in. That sounds reasonable. I've used...
Thursday, 19 March 2015 - 21:31
Bool, or not to Bool
awneil wrote:   christop wrote: I doubt any compiler lets you pass a only single bit to or from a function (either as an argument or a return value).   Keil C51 does...
Thursday, 19 March 2015 - 19:18
Preemptive vs. Cooperative Multitasking
Brian Fairchild wrote:   clawson wrote:   You entirely sure about that? Apart from Kartman I don't see any evidence of others taking an interest in this?  ...
Thursday, 19 March 2015 - 19:03