title: “Show system temperature on a mini i2c (9E6018A0) screen via Arduino Nano”
-
Show system temperature on a mini i2c (9E6018A0) screen via Arduino Nano
Posted on 23 Apr 2021 - 15:45
Introduction This is a project showing How to wire the I2C display to an Arduino How to retrieve the CPU temperature (or other values) from Linux’s sysfs How to use the RS232 library by wjwwood How to connect to the Arduino Nano and send data How to receive data in Arduino How to display data through the nice graphics library by Adafruit —— (also how to scribble with that library) We will build a minimal C++ console application that retrieves a temperature value from Linux’s sysfs and sends it to a serial port.
-
Save and load mesh data in Unity
Posted on 1 Oct 2020 - 19:06
Don’t we all have a hell of a fun generating meshes in Unity? The problems are: once you generated or changed an existing mesh, how do you keep it? you probably found out by now that a mesh contains fields that are not marked as Serializable The following comes handy in all situations where a generated mesh is rather complex and loading it from disk is more efficient than re-generating.
-
Unity little toy shaders
Posted on 1 Oct 2020 - 19:00
Here’s a small but growing collection of little Unity toys with more or less typical mathematical tricks implemented in a fragment shader. What’s impressive is, as often happens in maths, the simplicity of most formulas when implemented. I’ve always found coding things that have a visual output a really good way of understanding maths. I adapted these old snippets I made in Processing to ShaderLab/CG. I intentionally shared them in their most basic form to leave room to creativity.
-
Fractal Totem
Posted on 1 Oct 2017 - 18:46
Fractals. One can only admire their intrinsic beauty for they represent one of the most popular ways to turn math into pleasing visuals. These mathematical creatures make many intriguing, mind blowing appearances in nature. There are several kinds of fractals that are characterized by the method used to generate them and one of the most notorious is without doubt the Julia Mandelbrot Set (find a Unity/shader implementation here but it is far from being the only interesting example;