Category: Nightsavers

JUCE:Projucer hex color paste patch

JUCE is C++ framework for multi-platform VSTi and audio application development (https://juce.com/). It comes with JUCE Projucer IDE that helps a lot with GUI part of plugin development workflow. It is great tool, but color selector GUI component annoyingly lacked ability to accept pasted hex color code. Therefore, I’ve patched color selector GUI component with “paste”…

Doing SPI.Write from class constructor will brick Arduino Pro Micro

I had a small class to manage digpots (MPC410-10), and it all worked well. Until I’ve introduced write call in class constructor (now commented out). void DigPotUnitClass::Write(byte value) { digitalWrite(ChipSelectPin, LOW); SPI.transfer(B00010001); // This tells the chip to set the pot SPI.transfer(value); // This tells it the pot position digitalWrite(ChipSelectPin, HIGH); } DigPotUnitClass::DigPotUnitClass(byte chipSelectPin) { ChipSelectPin…

Solution with multiple SDK projects, automatic NuGet version updating and .nupkg to local repository

Here are some tips/examples on setting up Visual Studio 2017, that helped me streamline development cycle when working with PackageReference / SDK / .NET Standard project types and building NuGet packages. The post covers: Building multiple targets (in this example: .NET 4.0, .NET 4.5 and .NET Standard) Setting different package references for different targets Setting…

SharpShell – Windows Explorer context menu extension (notes)

Some personal development notes on using SharpShell library to develop Windows Explorer context menu extension for Windows 7+ and 64bit platforms: Make sure you checked: Project properties > Application > Assembly Information > Make COM Visible Make your own build of the SharpShell library and tools from the source code – to make sure the…