Type in the full discussion title or a part of it.
Discussion Title Created date
Not able to read bits from const __flash variable using SBIT macro
I trying to read two bits at a time from variables in flash memory.   Using Atmega328p Example :- #include <avr/io.h> #define SBIT(port,pin) ((*(volatile...
Friday, 13 March 2020 - 22:38
Help! Lowering clock cycles for sequential/random led controller
Hi,   I am attempting to make a 8 channel (for now) sequential LED controller code. On atmega328p running at 16MHz. I am using bit angle modulation (BAM) for 8 pwm...
Sunday, 8 March 2020 - 21:58
Getting high AC Voltage, is it okay to power my oscilloscope?
Hi guys,   I just got my new oscilloscope. The voltage at my mains is more than what is required on Oscilloscope.     And this is what I'm getting right now, but...
Thursday, 27 February 2020 - 09:42
Classic atmega which supports TWI/I2C fast mode plus 1MHz speed ?
Hi, As I just found out that bottleneck in my project turns out to be i2c speed. Right now I am running i2c bus at 400kHz with atmega328p which is running at 16MHz. My slave...
Sunday, 8 December 2019 - 07:12
How to check all bits in uint32_t ? 8 Bit microprocessor.
Hi guys, AVR noobie here trying to figure out how to fast read multiple bits in uint32_t variable. I am using SBIT() macro to read and write bits.   sbit.h #...
Friday, 29 November 2019 - 04:42