This file contains hidden or 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
(setq inhibit-startup-message t) ;; Do not display startup message | |
(tool-bar-mode -1) ;; Hide toolbar | |
;; Store backups in ~/.emacs.d/backups | |
(setq | |
backup-by-copying t | |
backup-directory-alist '(("." . "~/.emacs.d/backups")) | |
delete-old-versions t | |
kept-new-versions 6 | |
kept-old-versions 2 |
This file contains hidden or 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
// Quite minimal example showing how to configure MPSSE for SPI using libftdi | |
// compile like this: g++ minimal_spi.cpp -o minimal_spi -lftdipp -lftdi | |
#include <ftdi.hpp> | |
#include <usb.h> | |
#include <stdio.h> | |
#include <iostream> | |
#include <string.h> | |
// UM232H development module | |
#define VENDOR 0x0403 |