Post Created date
Now a days Why do most companies prefer c++ over C
I looked at the datasheet but didn't see any indication that the SD6822 is a microcontroller of any type.  Sure there are a lot of factories in China that will sell you a box...
Tuesday, 31 March 2020 - 17:00
Now a days Why do most companies prefer c++ over C
Employers prefer C++ over C because Arduino uses C++ and they have finally realized that they can hire competent Arduino programmers for 1/10th of the cost that they pay C...
Tuesday, 31 March 2020 - 16:43
[SOLVED] Question: AVR, interrupts and ISR
Well, rotary encoders don't bounce like push switches.  You'll get say 24 pin updates on a complete revolution of the shaft.  Now when a turn of the rotary encoder...
Tuesday, 31 March 2020 - 16:20
Servo driving problem
When your code is multiplexing between things (called "tasks") like reading the NFR24, reading the proximity distance, and reading an ADC, then you need to have main() do all the...
Monday, 30 March 2020 - 15:27
XMEGA32E5 TWIC (I2C) Grief
When you write to the TWIC_MASTER_CTRLCregister after sending START and SLA, you are not indicating that the Master should send a NACK to the Slave after receiving the data byte...
Monday, 30 March 2020 - 14:35
Sweep waveform
The first question to ask yourself is:  Am I making many of these sweep waveform generators, or only a few?  If you are making only a few, say between one and five for...
Monday, 30 March 2020 - 13:53
atmega644pa-au on washing machine
It is not likely that the company that made the washing machine would let you have a copy of their software for the AVR.  It is simply too much trouble for them, especially...
Sunday, 29 March 2020 - 13:30
XMEGA32E5 TWIC (I2C) Grief
Please show us your code for reading I2C.  There is code for writing the SLA, writing data, and sending STOP, but none shown for reading data. 
Sunday, 29 March 2020 - 00:10
light_ws2812 - I thought this would be easier!
I added neo.asm to the Projects section.   This is an assembly language demo of WS2812 programmable LEDs for the Tiny25 (at  8MHz).
Saturday, 28 March 2020 - 14:37
XMEGA32E5 TWIC (I2C) Grief
I believe that you are setting and clearing the wrong bit in R16 before the Slave Address Writes.   CBR R16,1 and SBR R16, 1   should instead be:  CBR R16...
Saturday, 28 March 2020 - 03:49
XMEGA32E5 TWIC (I2C) Grief
I2C hangs when the master is reading from the slave and the master does not send a NACK to the slave after the last byte that it is expecting to  receive.   ...
Friday, 27 March 2020 - 21:46
PWM timing
I suspect that the fuse setting for the clock is wrong and the system is running at @1.2MHz on internal RC clock.
Thursday, 26 March 2020 - 20:43