Post Created date
Pulse width measurement
Quote:so (x + x>>1)
Sunday, 11 April 2004 - 20:56
Pulse width measurement
Try to re-think your program so that you just use multiplication. It's probably going to be much faster that way (providing your AVR has a hardware multiply instruction, mine has...
Saturday, 10 April 2004 - 21:44
Can you programatically change Interrupt Vector Table
If you really need to change the interrupt vector on the fly you should use an indirect or indexed jump. I haven't done this myself, at least not since 6502 days, but I think the...
Saturday, 10 April 2004 - 21:26
[OFF] Solar Battery Charging
Just out of curiosity, why should you short the solar panel rather than disconnecting it? Are solar panels damaged by being open circuit in bright light?
Friday, 9 April 2004 - 11:41
Mega32 & Mega16
Yeah, IIRC there is a note in the M32 datasheet about migrating.
Wednesday, 7 April 2004 - 20:06
Gate Opener control board.
I agree totally. The only problem is that the people who install and service things like automatic gate openers sometimes prefer to deal with a simpler technology, such as relays...
Wednesday, 7 April 2004 - 15:36
Gate Opener control board.
c_oflynn wrote: You would pretty much only need to control the one relay (done with a transistor, resistor, and diode) that controls the motor. -Colin Strictly speaking, I'd have...
Wednesday, 7 April 2004 - 15:15
program execution
Made me laugh.
Tuesday, 6 April 2004 - 18:19
mirroring a byte
I take it all back, implemented in assembler and utilising the SWAP instruction for the final stage, I reckon that the shift-mask-combine method can do it in 15 words, 15 cycles....
Thursday, 1 April 2004 - 08:29
mirroring a byte
Well(or do I mean hmmm), seems to me that the straightline assembler solution several post back in this thread uses 17 words and 17 cycles. Admittedly it's not a loop, but neither...
Thursday, 1 April 2004 - 08:12
mirroring a byte
While I'm awfully impressed by the cleverness of that bit of C code for mirroring a 32 bit word, I sincerely doubt that the 8 bit version would be as efficient in speed or size as...
Wednesday, 31 March 2004 - 08:18
blinking blinking help needed
Use look up table.
Monday, 29 March 2004 - 12:02

Pages