Starting off very simple I have decided on a new project. For this post, I will start off with a total of 25 lines of code in C, to generate an executable, that will print out the Linux Date-Time in something akin to ISO 1806 Date-Time, something that should also be readable by Javascript( Nodejs…
Tag: Debian
Simple Line / mux select
Originally posted by me on May 21, 2017 So, this is a variation on using GPIO, via direct memory access. The benefit to using this code, or similar. Is that there is only two syscalls for each line / mux select. Versus 12 syscalls if using the standard “Linux way” using open(), write(), read(), and…
How to read an ADC
Originally posted by me on May 10, 2017 So this bit may seem a little odd to some. Hell I know the hardware, and wrote this really quick snippet as a demonstration, and I think it’s odd. The short story here. Is that we have a pin multiplexer on AIN6, and this multiplexer selects an…
Using the Maxim DS3232 on a Beaglebone black
Originally posted by me on May 9, 2017 So, this is partly for me, and partly for others who need a refresher, or just do not know how. But I will be making several post here over time on how to write very simply code, to do one thing, or another. These, used in conjunction with…
WordPress, and MariaDB on Docker
The motivation for the post was quite simple. Currently, I’m running wordpress for a blog site, and never happy with Themes created by others. Often, I find myself wanting to design my own theme from scratch. Several years ago, when I ran the same domain, on a different server, I used WordPress then as well….