Skip to content

Instantly share code, notes, and snippets.

@k5njm
k5njm / interfaces
Created March 22, 2017 03:01
/etc/network/interfaces for a Promox Host running a pfsense VM
root@homelab:~# cat /etc/network/interfaces
auto lo
iface lo inet loopback
iface eth0 inet manual
iface eth1 inet manual
iface eth2 inet manual
iface eth3 inet manual
auto vmbr0
#include <QTRSensors.h>
#include <EEPROMex.h>
/*
EEPROM Storage/Retrieval of QTR calibration data using serial interface
Gathered from notes on this page: https://forum.pololu.com/t/qtr-calibration-values-from-eeprom/6823/3
Using this EEPROM Library: http://thijs.elenbaas.net/2012/07/extended-eeprom-library-for-arduino/
*/
#define NUM_SENSORS 8 // number of sensors used