Discussion Title | Created date |
---|---|
How to prevent your code from executing on another same microcontroller? Greetings everyone, I am currently designing a module (a led sequencer), which I am unsure how to sell/distribute. In the end microcontroller could be any of megaAVR series... |
Monday, 12 April 2021 - 21:53 |
Questions regarding splitting project into multiple files !!!! I have some confusion that I want to clear out. Recently my project got somewhat big and I can't manage it in a single C file, so I split it into multiple files, which raises some... |
Sunday, 4 April 2021 - 17:34 |
Return from an ISR to a function different from where it is called. Possible ? Hi everyone, My weird programming style has led me to a problem. I don't know if it's possible or not but here it is. As far as I know normally when an ISR fires, upon it's... |
Tuesday, 23 March 2021 - 04:57 |
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 |