Type in the full discussion title or a part of it.
Discussion Title Created date
AS7 code folding bug
I'd like to report that AS7 still has a bug related to the one reported here: https://www.avrfreaks.net/comment...   The bug was fixed for // style comments, but still exists...
Monday, 20 November 2017 - 11:41
avr-g++ treats SFRs differently re constexpr in v 5.4 v/s 7.2
[note this started life on tutorial thread about "toolchain flavours"]   Thanks, I've added avr-gcc 7.2 as a "flavour". Naturally, weirdness ensued. Using the old version (...
Sunday, 22 October 2017 - 20:59
Generating lookup table at compile time using features from C++14
In recent months, I've been improving my C++ skills, after all plain C is really starting to show it's age. So, variadic templates, auto typed variables, lambda expressions and...
Tuesday, 10 October 2017 - 13:18
GCC optimization fail
This simple program shows a poor optimization by GCC:   #include <avr/io.h> int main () { OCR1A = (PIND << 8) | PIND; }gcc 4.8.1 and 5.4.0 give:   int...
Friday, 29 September 2017 - 22:13
I managed to crash avr-gcc :P
Just this (as C++ code):   struct {} __attribute__((io (0x20))); internal compiler error: Segmentation fault   I guess it's just too wrong and gcc couldn't take it....
Friday, 18 August 2017 - 18:37
Forbiden tech from China has arrived :-)
That's right, I ordered a board with the infamous AVR clones from Logic Green. It's an Ocrobot Alpha with the  LGT8F328P MCU. The board itself is pretty crappy, no crystal,...
Wednesday, 9 August 2017 - 14:55
How can eBay Mega 128a be so cheap?
The "respectable suppliers" price the atmega 128a at about $4 per chip. However, on ebay you can find them at $1 or less. How is this possible?   I thought: surely they are...
Thursday, 25 May 2017 - 18:03
What does system_init() do?
After reading some of the colossal D10 datasheet, I managed to make a blink program for the SAMD10 Xplained Mini board: #include "sam.h" #define LED_PIN 1<<9 int main(void...
Saturday, 22 April 2017 - 12:48
Using phase correct PWM to drive charge pump
Just wanted to share a small circuit where I use phase correct PWM to drive the gates of complementary MOSFETS, preventing that moment when they are both on. This is a voltage...
Saturday, 15 April 2017 - 16:06
Charge transfer capacitance measurement
I need to measure the level of water inside a tank with a plastic wall about 5mm thick, but since this is just an hobby project I'm in no hurry. I will use a capacitance sensor to...
Monday, 6 February 2017 - 16:14
My DIY water soluble flux recipe
In a recent thread, the choice of flux for electronics work was being discussed, and as I mentioned there, I like to devise my own flux recipes. Since I didn't have any experience...
Saturday, 31 December 2016 - 16:08
Can I do a JFET level shifter?
In another thread, I was wondering if this fairly standard level shifter circuit:   could be made with a JFET instead. Why? No practical reason, just curious. Unfortunately...
Monday, 24 October 2016 - 09:44

Pages