Adam K Dean

Posts tagged with node

SPI with MCP3008 ADC chip & TMP36 analogue temp sensor

Published 4 February 2020 in archive with tags electronics , node , spi I wrote this a while ago (on 15 Dec 2014, according to GitHub) but for some reason I never wrote about it or shared it really. It's a solution for using SPI with the MCP3008 ADC chip & a TMP36 analogue temperature sensor. Continue reading …

Add notices to auto-generated files with gulp

Published 25 August 2015 in archive with tags npm , node , gulp I wrote a little tool today to pop into my gulp workflow which writes some text to the top of files processed by gulp. The problem I find is that quite often you can be working on a project with source files and generated files (e.g. jsx -> js) and accidentally edit the wrong file, only for your changes to be overwritten. Continue reading …

Koa middleware for serving static files

Published 12 August 2015 in archive with tags npm , node , koa Quite often I find myself using the same snippet of code over and over in projects for serving up static files as part of projects that use Koa. Today I exceeded my limit for copy pasting, so I've bundled this together into a module called koa-serve. Continue reading …

Installing Node.js on a Raspberry Pi

Published 15 May 2015 in archive with tags raspberrypi , javascript , node Raspbian is based on of Debian Wheezy, so things are a little different than the standard Ubuntu 14.04 installs. Remember to always read a script before you curl it to bash. Continue reading …

Notes on Raspberry Pi & Arduino

Published 15 May 2015 in archive with tags raspberrypi , arduino , javascript , node Using NOOBS, install Raspbian. It's probably the most supported distro for the Pi. (https://www.raspberrypi.org/help/noobs-setup/) Continue reading …



Newer Page 1 of 1 Older