i2c library - http://www.i2cdevlib.com/usage
Pitch and Roll from accel - https://theccontinuum.com/2012/09/24/arduino-imu-pitch-roll-from-accelerometer/
Complementary filter - http://www.pieter-jan.com/node/11
i2c library - http://www.i2cdevlib.com/usage
Pitch and Roll from accel - https://theccontinuum.com/2012/09/24/arduino-imu-pitch-roll-from-accelerometer/
Complementary filter - http://www.pieter-jan.com/node/11
<source> | |
@type http | |
port 9880 | |
</source> | |
<filter **> | |
@type stdout | |
</filter> | |
<match **> |
void setup() { | |
// put your setup code here, to run once: | |
for (int i = 2; i < 11; i++) { | |
pinMode(i,OUTPUT); | |
digitalWrite(i, HIGH); | |
} | |
} | |
void loop() { | |
// put your main code here, to run repeatedly: |
/* | |
Basic MQTT example | |
This sketch demonstrates the basic capabilities of the library. | |
It connects to an MQTT server then: | |
- publishes "hello world" to the topic "outTopic" | |
- subscribes to the topic "inTopic", printing out any messages | |
it receives. NB - it assumes the received payloads are strings not binary | |
It will reconnect to the server if the connection is lost using a blocking |
group: H01 | |
emp = { | |
id:number, salary:number | |
12345, 100 | |
99999, 200 | |
} |
user nginx; | |
worker_processes 1; | |
error_log /var/log/nginx/error.log warn; | |
pid /var/run/nginx.pid; | |
events { | |
worker_connections 1024; | |
} |
" When started as "evim", evim.vim will already have done these settings. | |
if v:progname =~? "evim" | |
finish | |
endif | |
set nocompatible " be iMproved, required | |
filetype off " required | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/Vundle.vim |
I hereby claim:
To claim this, I am signing this object:
" Get the defaults that most users want. | |
source $VIMRUNTIME/defaults.vim | |
if &t_Co > 2 || has("gui_running") | |
" Switch on highlighting the last used search pattern. | |
set hlsearch | |
endif | |
" Add optional packages. | |
" |
# Configure vim keybindings for switching panes | |
bind h select-pane -L | |
bind j select-pane -D | |
bind k select-pane -U | |
bind l select-pane -R | |
# Configure ctrl-vim keybindings for switching windows | |
bind C-h previous-window | |
bind C-l next-window |