The Raspberry Pi‘s raspbian image comes with oracle-java8-jdk already installed and I wanted to use this with maven. However if you install maven using apt-get it will install all kinds of other JDKs and things you don’t need. The solution to this is to install maven from it’s binary distribution. This is quite easy as everything it needs is already installed.
Category: Uncategorized
TWI (I2C) slave example for ATxmega32A4U
It has taken me some time to understand how to write a slave driver for this chip so here is a simple example. Every byte received is written to port D so that it can be seen, and when a stop condition is detected all pins on port D are toggled. Reading data from it returns the next value of an 8 bit counter.
Portal Ascii Art
Portal 2 has some brilliant ASCII art in it’s ending sequence. Having spent some time copying it for a project, here it is: