Post Created date
ATTiny12 Making Lemonade out of Lemons
One of the other C compilers (I remember I tried it for a tiny15 project I was doing in ASM), can make code for the org. tiny chips.(no RAM and indirect load was registers) But I...
Sunday, 2 June 2019 - 15:09
Drive current for led 0 to 100%
What do you try to make ?    It's all in the temperature of the diode, if you can keep it cold, you can get more light.  
Sunday, 2 June 2019 - 14:42
How to "trim" a 32- bit INT?
Have you tried with a 24 variable ?  perhaps it save a tad of code.
Sunday, 2 June 2019 - 07:17
WSD2811 led time code in C, optimize further
No doubt that I also would do it i ASM, you problem is that a compiler update can break your code.   If you want to do it in C perhaps use a timer with come compare matches....
Tuesday, 28 May 2019 - 18:59
How much distance can dc signal travel in cat6 cable?
Have in mind that for current loop 19.2K baud is about max speed for any distance where  RS422/485 is 1M baud + at same distance.
Sunday, 26 May 2019 - 23:23
Assembly IF Statement
I add that on the lower 256 bit of io you can check the value of a bit and change it, without first have to get it into a register. 
Sunday, 26 May 2019 - 09:57
Fine tuning a crystal in code
Do you mean the AVR measures temp Yes (many AVR's can do that, it not very accurate but I don't really care, I just want to know the speed error at known temperatures...
Friday, 24 May 2019 - 22:08
Fine tuning a crystal in code
That is not what I want.  There is no need to calibrate just a need to know the speed. If I have a board with the AVR, a 5V regulator and 32768Hz crystal and put it in a...
Friday, 24 May 2019 - 12:53
Fine tuning a crystal in code
I have a side question back on the org. question.   If you just put a 32768 KHz crystal on a AVR that can measure temperature, then measure the speed, at let's say at 3...
Friday, 24 May 2019 - 12:28
Speeding up this SPI bit bang function in C?
I'm slow I updated #41 with numbers for a classic AVR (Mega328).   And yes I have one of the first AVR's from 1997.  (A AVR1200  E.S.)
Sunday, 19 May 2019 - 09:52
Speeding up this SPI bit bang function in C?
For #38 and #39 be very careful if PORTB is used for other things! If output changes happen in a ISR this code can change it back.     Add:   I just...
Sunday, 19 May 2019 - 05:40
What is the best wireless network architecture for 1000 nodes...?
So there was was nothing wrong with the chips from vendor 1. It was just the wrong chips that was ordered (the devil is in the last letters after the number)
Thursday, 16 May 2019 - 21:30