A markdown friendly Raspberry PI Pinout table and list.
I used a mixture of Excel, Vim and Regex to make these.
Output from the PIs pinout
command
import logging | |
import json | |
import google.oauth2.credentials | |
import time | |
from google.assistant.library import Assistant | |
from PyQt5.QtCore import pyqtProperty, pyqtSignal, pyqtSlot, QObject, QThread | |
from google.assistant.library.event import EventType |
http://tinkerman.cat/rpi3_iot_server.pdf (Catalan)
qmlRegisterType<UnqliteStore>("com.l3.demo", 1, 0, "KeyValueStore"); |
""" | |
ldr.py | |
Display analog data from Arduino using Python (matplotlib) | |
Author: Mahesh Venkitachalam | |
Website: electronut.in | |
""" | |
import sys, serial, argparse |
# METEOR CORE: | |
Anywhere: Meteor.isClient | |
Anywhere: Meteor.isServer | |
Anywhere: Meteor.startup(func) | |
Anywhere: Meteor.absoluteUrl([path], [options]) | |
Anywhere: Meteor.settings | |
Anywhere: Meteor.release | |
#Intro
Kotlin is a new programming language for the JVM. It produces Java bytecode, supports Android and generates JavaScript. The latest version of the language is Kotlin M5.3
Kotlin project website is at kotlin.jetbrains.org.
All the codes here can be copied and run on Kotlin online editor.
Let's get started.
// From http://arduino.cc/forum/index.php/topic,43903.0.html#10 | |
byte text[] = "Hello World"; // Transmittet text | |
// Morse code generator for the Arduino | |
// Transmitted text is placed in the first line | |
// Tempo sets the speed of a dot etc. | |
// Morde code was tanken from http://en.wikipedia.org/wiki/Morse_code | |
// Text is looping and prior to transmitting the active pin blinks rapidly | |
// Version 1.0, made by Fletcher Chr |
# This LOOKS pretty straightforward, but it took awhile to sort out issues with | |
# py2cairo and pygobject, so I hope I've saved you some time :-) | |
# | |
# This assumes you already subscribe to a nice clean virtualenvwrapper workflow | |
# -- see https://gist.github.com/771394 if you need advice on getting there. | |
# There are some optional dependencies omitted, so if you're going to be doing | |
# heavy development with these libs, you may want to look into them. | |
# | |
# We go to some configure option pains to avoid polluting the system-level | |
# Python, and `brew link`ing Cairo which is keg-only by default. |