Learning to use vectors in c++ is fairly straight forward. But passing the collection to a function and returning an instance is not demonstrated as often.
The following code snippet should show a nice complete flow in one shot. Take a look:
I plugged the unit in and switched it on. Pressing the power button only showed
F09 on the display.
Thought I'd open it up and take a look around.
This article will help you get the most commonly desired URL format working.
ESP32 is pretty straight forward when it comes to serial debugging with the console via the USB connection.
However when trying the Amica NodeMCU ESP8266, serial was not a straight forward process via the Arduino IDE.
There's a lot of articles out there already on using these little 128×64 oLED monochrome displays with an ESP32 or with an Arduino board.
The go-to library for working with oLED displays appears to be Adafruit's SSD1306 library judging by the amount of articles written on it. This one is packed with features while being easy to use (but there are others!).
The ESP32 has a stack of GPIO pins allowing you to attach a whole bunch of LEDs. But it's a neat practice to try using fewer pins with several LEDs using Charlieplexing. There's quite a few things you can learn along the way.
This guide will show you how to quickly set up an ESP32, placement onto a breadboard, wiring, the software, and finally sending code to it.
In February, myself and a couple of mates from work stayed at the Space Capsule Hotel in Sydney. Some thought what we were doing was dreadful/unconventional but we were keen to check it out nonetheless.
Once inside, there really is an illusion of being inside the sleeping cabin of some ship on route to mars.
I discovered a most excellent thing recently for developing websites: Hugo. More truthfully, a friend got me onto it. At first I couldn't see the point of something that generates static pages from source.
Oscillators on a PIC can be a bit of a minefield to understand. Especially learning to read through a datasheet. So it can be a little daunting just to get a baseline start.
Hopefully I can help here.
If you need a quick setup for the PIC16F1455, fast wiring and code to check output from a pin, this article is for you.
One of the nice things about working with FPGAs and Verilog is the array of open source tools and development boards that are available.
Our aim is to take a verilog file, a testbench and simulate it using Icarus Verilog / GTKWave.
Microsoft has a sea of settings that have their best interests at heart. The biggest one being Cortana, and placing ads on the lock screen.
When receiving a new laptop or PC that has Windows 10 installed, there are a number of things that you can do to shut Microsoft out.
I recently needed to create a new LaTeX macro for a User manual. The macro was to output a defined character, but in a colour specified by the author. Therefore, I needed a macro that accepted a single optional argument.
I am really excited by this technology. In many aspects, it's a return to where I started, assembly coding on 8-bit and 16-bit machines. And it's a shot in the arm for the browser, opening up many new possibilities for frontend web development.
My first experiments with PIC Microcontrollers was on the PIC32MX170F256B. But after discovering that there was no USB module on that controller, I then purchased a PIC32MX270F256B which did have one.
This article serves as a reminder for the minimum setup for this microcontroller.
I blamed it on the fact I had accidentally purchased an SSD1315 instead of an SSD1306.
I first heard about the Pi1541 created by Steve White on Chicken Lips Radio. There had been other solutions in the past for hooking up an SD card to a C64/128 but nothing for the average hacker that would fully emulate a 1541 or daily chain to another real 1541.
Discovering that this project ran bare metal on the Raspberry Pi without any underlying OS was impressive to say the least, exactly what I was hoping someone would eventually produce.
I figured I could build this on perf board easily enough.