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
DOS> lxrun /install | |
DOS> bash | |
sudo apt-get install build-essential | |
sudo apt-get install gcc-arm-none-eabi gdb-arm-none-eabi | |
sudo apt-get update | |
sudo apt-get upgrade | |
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain=nightly | |
export PATH="$HOME/.cargo/bin:$PATH" | |
cargo install xargo | |
rustup component add rust-src |
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
#include <Wire.h> // Use Wire according to arcticle https://garretlabs.wordpress.com/2014/03/18/the-dark-side-of-porting-arduino-sketches-on-intel-galileo-part-one/ | |
int RESET_PIN = 8; | |
int DC_PIN = 9; | |
int CS_PIN = 7; | |
int MOSI_PIN = 2; | |
int MISO_PIN = 12; | |
int SCK_PIN = 3; | |
//TFT resolution 240*320 |
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
// Original article https://bensmann.no/dynamically-embedding-gists/ | |
// … find all gist scripts inside the ajax container | |
var $gists = $ajax_container.find('script[src^="https://gist.github.com/"]'); | |
// if gist embeds are found | |
if( $gists.length ){ | |
// update each gist | |
$gists.each(function(){ |
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
#ifndef __LCD_DEFINES_H__ | |
#define __LCD_DEFINES_H__ | |
#include "lcd_conf.h" | |
#include "lcd_defines_AT043TN24V7.h" | |
#include "lcd_defines_K430WQAV4F.h" | |
#include "lcd_defines_K70DWN0V1F.h" | |
#include "lcd_defines_S92048AAA.h" | |