Saturday, November 11, 2017

tmux and the arrow keys

If the arrow keys do not work, try setting the environment variable TERM to "xterm-256color".
This should solve the issue!

Thursday, May 04, 2017

USB serial devices and Arduino Yun

How to use USB serial devices on an Arduino Yun

You have a device send serial data via USB like an Arduino UNO, Leonardo or similar?
You need to run:

opkg update
opkg install kmod-usb-serial
opkg install kmod-usb-acm


After that you should find  that device as "/dev/ttyACM0".

Tuesday, May 24, 2016

Saturday, March 12, 2016

7 Segment Displays controlled with a SAA1064

https://github.com/mymaestro/Arduino-projects/tree/master/SAA1064-library/libraries/SAA1064

The SAA1064 Chip can be used to control up to four 7 segment displays using I2C.
The default address is 0x70.
The link above can be used to get a library to control that chip with very little effort.

Thursday, February 25, 2016

Thursday, January 28, 2016

Google Product Forums

https://productforums.google.com/forum/#!home
Very useful if you have questions about Google products

Friday, January 15, 2016

javascript beautify

Cool tool to beautify js code:
js-beautify
You will need Python and pip installed. Then do:
pip install jsbeautifier
Maybe you need to start pip with sudo.
Then you can do:
js-beautify file.js
without parameter you will get help.