This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
needs seabreeze, pyusb, matplotlib. | |
make sure pyusb can find libusb correctly. | |
""" | |
import matplotlib.pyplot as plt | |
import seabreeze | |
import seabreeze.pyseabreeze as sb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Vector.dev does not come with armv6 target, so it cannot be installed to old RPi 1 or RPi Zero. | |
However, it can be compiled from source for that CPUJ architecture. I used `arm-unknown-linux-musleabihf`. | |
I use 0.31.0 version and followed this guide: https://vector.dev/docs/setup/installation/manual/from-source/#docker | |
Apply the following patch to the codebase, then you'll be able to do `make package-arm-unknown-linux-musleabihf | |
` to make a tar.gz or `make package-deb-arm-musl` to make a deb package. | |
Building vector consumes about 10Gb, and 10Gb more to build a deb. | |
I had to drop kafka support, as librdkafka was very stubborn and wanted to be compiled for armv7 target even when all the components were build for armv6. | |
I had linking issues concerning vfp3 functions, so I dropped the whole feature as I did not need it. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## ~/.tmux.conf | |
# C-b is not acceptable | |
set-option -g prefix C-a | |
bind-key C-a last-window | |
# Start numbering at 1 | |
set -g base-index 1 | |
set -g mouse on |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Oscilloscope | |
* Gives a visual rendering of analog pin 0 in realtime. | |
* | |
* This project is part of Accrochages | |
* See http://accrochages.drone.ws | |
* | |
* (c) 2008 Sofian Audry ([email protected]) | |
* | |
* This program is free software: you can redistribute it and/or modify |