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
<template> | |
<div id="app"> | |
<no-ssr> | |
<drawer-menu | |
:isOpen="$store.state.drawerEnabled" | |
right> | |
<a | |
id="home" | |
href="#"> | |
<span>Home</span> |
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
/** | |
* WORK IN PROGRESS | |
* | |
* @author lefuturiste <[email protected]> | |
* @date 2018-12-09 | |
*/ | |
// 0: off | |
// 1: low luminosity (ennemi points) | |
// 2: blink quick (cursor) | |
// 3: full (me) |
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
#include <Arduino.h> | |
#include <Wire.h> | |
#include <SoftwareSerial.h> | |
#include <MeAuriga.h> | |
MeGyro gyro(0, 0x69); | |
void setup() { | |
Serial.begin(9600); | |
Serial.println("Start..."); |
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
#include <ESP8266WiFi.h> | |
#include "DHT.h" | |
#define DHTTYPE DHT11 | |
const char* ssid = "xxx"; | |
const char* password = "xxx"; | |
WiFiServer server(80); |
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
#include <MeAuriga.h> | |
// the setup function runs once when you press reset or power the board | |
void setup() { | |
// initialize digital pin LED_BUILTIN as an output. | |
pinMode(A13, OUTPUT); | |
} | |
// the loop function runs over and over again forever | |
void loop() { |
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
let len = process.argv[2] == undefined ? 100 : process.argv[2] | |
let terms = [1, 1] | |
for(let i = 2; i < len; i++) { | |
terms.push(terms[i-2] + terms[i-1]) | |
} | |
console.log(terms) |
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
<div id="app"> | |
<v-app> | |
<v-content> | |
<v-container grid-list-xl> | |
<v-layout justify-center class="mb-5"> | |
<div class="headline"> | |
La vie d'une dorsale | |
</div> | |
</v-layout> | |
<v-timeline align-top> |
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
<!DOCTYPE html> | |
<head> | |
<title>La vie d'une dorsale, 1S1</title> | |
<meta charset="UTF-8"/> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/vuetify/1.5.7/vuetify.min.css" /> | |
<link href='https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900|Material+Icons' rel="stylesheet"> | |
</head> | |
<body> | |
<div id="app"> | |
<v-app> |
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
import Adafruit_PCA9685 | |
import time | |
import pypot.dynamixel | |
import pypot.robot | |
from Controller import Controller | |
class Robot: | |
# LESC = (6,5,0,1) # liste des ESC (avant gauche, avant droit, arrière gauche, arrière droit) | |
escSlots = { |
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
import serial | |
import time | |
from math import * | |
from src.Mouse import Mouse | |
import io | |
from multiprocessing import Process | |
import asyncio | |
# position, orientation robot, distance robot-target, position target, vitesse moteur |