Post Created date
timing problem ATtiny13a 128kHz
If it save power to run fast and then sleep depends a lot of your HW, and especially which voltage you want/need to run at. In many situations AVR's (systems) use less total...
Friday, 7 June 2019 - 17:09
Define and display big number
Perhaps too basic but where does the numbers come from, and what to do with them other than show them.   If it's only + and - it could be smaller and faster to do the...
Friday, 7 June 2019 - 16:04
Studio 7 for ATmega328PB : got > Error
Yes what is the reason for the old compiler ?   I have made project with a 328PB using studio4 with the same compiler as you, I only needed some extra portpins so I just had...
Wednesday, 5 June 2019 - 17:48
Creating a sinusoidal-wave from PWM with ability to change frequency
Google SW DDS   Basically you will need i++ to have a better resolution, if you do i += 256 and then use i / 256 (the compiler just make a >>8 so no time killer), will...
Wednesday, 5 June 2019 - 16:14
ATTiny12 Making Lemonade out of Lemons
It has total to do with "clumsyness" the C compiler isn't flexible enough to use the HW. This is one of the cases where ASM is many factors better than C, because the HW is fine...
Sunday, 2 June 2019 - 17:37
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