-
Arduino Zero (SAMD21) FDPLL with CMSIS
One of the coolest, tucked-away features in the SAMD21 is the fractional digital phase locked loop (FDPLL). I still only have a vague idea of how phase locked loops (PLLs) work, but nonetheless, we can use the SAMD21’s PLL to create a 96 MHz clock. The bad news is that, to the best of my…
-
Arduino Zero (SAMD21) Raw PWM Using CMSIS
Arduino has a habit of making pulse width modulation (PWM) pins with a set frequency (or limited frequency options). For the average user, this is not a bad thing, considering it hides all the ugliness (or beauty, depending on your perspective) of manually setting registers. For those of us that want to dig deeper into…
-
Arduino WebSocket Server Using an ESP32
WebSockets is an incredibly useful protocol that lets you send data to and from a server over TCP without the need for HTTP. Importantly, it lets you push data from the server to a client (e.g. a browser) without needing to make a request. This can be very handy for things like browser-based multiplayer games.…
-
Getting Started with Phaser Part 3: Sprites and Movement
In the last part, we added the Phaser framework to a web page and said “hello” on a canvas element. In this part, we create a simple sprite (a ball) and move it around the canvas. Why a ball? I consider it to be a test of whether gaming is possible on a particular platform. In…
-
Getting Started with Phaser Part 2: Drawing Text
In the first part, we created a simple web server and page. We didn’t even touch Phaser! However, that is about to change. In the second part of this series, we create a game area in an HTML div and draw some simple text on it using Phaser. Directory Structure In your Games directory, create another…





