Category

Blog

Category

Getting programming questions answered on the internet can be problematic. Programmers love to have opinions, stick to those ideas, and express them to you even when their opinion has nothing to do with your question(s).

Not only am I going to explain how to use flag variables in your code, I am going to encourage their use—which most programmers avoid.

However, this advice comes with two caveats.

  1. This information only applies to limited resource environments like an Arduino, LaunchPad or PIC.
  2. Use flag variables very carefully when you do use them.

The following flag variable usage examples are Arduino-centric but apply to any microcontroller platform, including the Energia project for TI Launchpads.

On every page of my blog, you might notice a chat window. If I’m not busy, we can chat in real-time. If not, the messages come to me by email. Here’s one I got from Matt the other day:

Let’s talk a bit about how (and why) you would use a P-Channel MOSFET. Matt, and he’s not the only one, is probably asking this question based on the “myth” that P-Channel MOSFETs require “negative voltage” supplies.

Keep reading for how-to use only positive voltage in this p-channel MOSFET tutorial.

The other day my friend called me up. He told me how much he missed building circuits and wanted to start again with the Arduino.

So he asked me “which Arduino starter kit is the best to buy?” At which point, I drew a long breath. Easy question, not always an easy answer.

Picking out an electronics kit depends on a number of factors. You should consider:

  1. Your budget
  2. What you already have
  3. What you want to do

#1 and #2 are probably pretty easy to figure out. For many beginners, it’s “not much” and “nothing.” When you don’t know #3, what you want to do, then it gets trickier. Coming back to my friend, what did I do? Well, I went out and bought each one of the kits in this post. I put myself in his shoes and maybe these are your shoes as well.

Assuming you have about $100 to spend, have no components on-hand now and just want to “get started” consider one of these 4 Arduino starter kits.

Learned about it in this video from the YouTube Channel My Life in Gaming. Some of their videos are a bit more technical than the general “retro review” style, which is why I started watching.

In their RGB 300 Video Series, they covered a homebrew project called “240p Test Suite.”

This project includes a number of test graphics and patterns to help in adjusting the settings of a modern TV. Even more impressive are the systems it covers:

  • Nintendo Wii
  • NSuper Famicom / SNES
  • Nintendo GameCube
  • Sega Mega Drive (Genesis)
  • Mega CD (Sega CD)
  • Sega Dreamcast
  • PC Engine (TurboGrafx-16) / PCE Duo

Check out this wiki page which lists all the tests and download it for your retro gaming platform.

CD-based systems are pretty easy to run since most of the era didn’t have copy protection. For the cartridge systems, you’ll need something like an EverDrive / SD Card reader for ROMs to make it work.

I’ve got mine on order…

Back in the 1990s, a 1.44mb floppy disk was a reasonable storage size for most documents.  For bigger documents or backing up an internal hard drive, other options were necessary. You might remember the Zip Drive, but that wasn’t the first large portable media.

The Bernoulli Box was the precursor to the Zip Drive. It used custom media that could store 10s to 100mbs on portable disks. Well, portable compared to carrying around an entire hard drive. Operating using the Bernoulli principal, the drive’s head never comes in contact with the “floppy” material inside the protective case.

Clint of Lazy Game Reviews takes a look at this cool forgotten drive technology in this video.