sudo apt-get install python3-pip
sudo pip3 install virtualenv
<?php | |
use Doctrine\ORM\Mapping as ORM; | |
use Doctrine\Common\Collections\ArrayCollection; | |
/** | |
* @ORM\Entity() | |
* @ORM\Table(name="user") | |
*/ | |
class User |
#include "dht11.h" | |
// There is a timeout if voltage on pin does not change in 10k loop passes time | |
bool acknowledge(int pin, int mode) { | |
for(unsigned int loopCnt = 10000; digitalRead(pin) == mode; loopCnt--) { | |
if (loopCnt <= 0) return false; | |
} | |
return true; | |
} |
node { | |
checkout scm | |
stage('Build') { | |
def mvnHome = tool 'M3' | |
sh "${mvnHome}/bin/mvn package" | |
} | |
stage('Deploy') { | |
if (env.BRANCH_NAME == 'develop') { |
#include <Arduino.h> | |
#include <U8x8lib.h> | |
// Pin 16 OLED Reset | |
// Pin 4,5 I2C | |
// use Board "Wemos D1 Mini R2", 80Mhz, 4(3)MB Flash, 921600baud to flash | |
U8X8_SSD1306_128X32_UNIVISION_HW_I2C u8x8(16); |
The initial goal of this project is to use the raspberry pi in place of my Wireless Range Extender and then going from 3 wireless networks (2.4ghz, 2.4ghz extended, 5ghz) at home to only one (5ghz). This way I'm reducing the exposition to radio waves for the whole familly at home.
Ok, enough drama for now, let's go technical. 😁