- W: Write
- R: Read
W 00 {FF} 00 00 00 // controller 1 red light activate
W 00 {00} 00 00 00 // controller 1 red light deactivate
diff -ruN minisapserver-0.3.6/message.cpp minisapserver-0.3.6-customsdp/message.cpp | |
--- minisapserver-0.3.6/message.cpp 2009-01-11 19:53:25.000000000 +0000 | |
+++ minisapserver-0.3.6-customsdp/message.cpp 2009-04-15 00:21:19.000000000 +0100 | |
@@ -96,59 +96,65 @@ | |
bool Message::AddProgram(Program *p) | |
{ | |
+ string sdp = "v=0\r\n"; // SDP version | |
/* FIXME */ | |
/* RFC 2327 Compliance ? */ |
#!/bin/bash | |
## DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
## Version 2, December 2004 | |
## | |
## Copyright (C) 2013 Lukáš Karas <lukas.karas@centrum.cz> | |
## | |
## Everyone is permitted to copy and distribute verbatim or modified | |
## copies of this license document, and changing it is allowed as long | |
## as the name is changed. |
#!/bin/bash | |
# Set up my PocketCHIP (Debian Linux) | |
# NB It's recommended you set up ssh key auth before running this script | |
# Extra tools -- edit this to suite what you want on your CHIP | |
OPTIONAL_PACKAGES="vim-gtk git build-essential python-serial arduino arduino-mk" | |
# Update | |
# 1st lets fix an occasional but obscure problem during upgrade |
#!/usr/bin/env python | |
import scrollphathd | |
from scrollphathd.fonts import font5x7 | |
from flask import Flask, request | |
import threading | |
import queue | |
import signal | |
import time | |
from zeroconf import ServiceInfo, Zeroconf |
Vous voyez une multitude de tutoriels mais vous ne savez pas comment vous y prendre, quoi choisir etc. Ce tutoriel vous montrera les bonnes pratiques et l'utilisation d'outils faciles.
Il existe plusieurs exploits ou failles sur la Nintendo Switch.
#include <Arduino.h> | |
#include <FastLED.h> | |
TaskHandle_t Task1; | |
TaskHandle_t Task2; | |
#define FRAMES_PER_SECOND 1 | |
#define DATA_PIN_KICK 15 //144er roll |
import supervisor | |
import time | |
import board | |
# For Trinket M0, Gemma M0, ItsyBitsy M0 Express, and ItsyBitsy M4 Express | |
import adafruit_dotstar | |
led = adafruit_dotstar.DotStar(board.APA102_SCK, board.APA102_MOSI, 1, brightness=0.2) | |
def convert_color_str(color_str): | |
color_str = color_str.replace("(", "") |
# SPDX-FileCopyrightText: 2020 anecdata | |
# | |
# SPDX-License-Identifier: MIT | |
import microcontroller | |
import board | |
for pin in dir(microcontroller.pin): | |
if isinstance(getattr(microcontroller.pin, pin), microcontroller.Pin): | |
print("".join(("microcontroller.pin.", pin, "\t")), end=" ") |