View OmniPreSense-radar-Ubiquity-follow.py
#!/usr/bin/python
"""
Copyright (c) 2017, Ubiquity Robotics
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
View OPS241Radar.py
#!/usr/bin/env python3
# Import time, decimal, serial, GPIO, reg expr, sys, and pygame modules
import os
import sys
from time import *
from decimal import *
import serial
import re
import pygame
View Node-Red OPS241-basic-example.json
[
{
"id": "d2eb373.3f50cc8",
"type": "tab",
"label": "Flow 2"
},
{
"id": "92070e99.486ef",
"type": "serial in",
"z": "d2eb373.3f50cc8",
View PC-OPS241 NodeRed.json
[
{
"id": "90b76976.49ff38",
"type": "tab",
"label": "Flow 1"
},
{
"id": "52bcfbfe.e89d74",
"type": "switch",
"z": "90b76976.49ff38",
View OPS241 NodeRed Flow
[
{
"id": "8eb36c95.abf588",
"type": "exec",
"z": "bb84ba45.9732b8",
"command": "/usr/bin/aplay",
"addpay": false,
"append": "/home/pi/SlowDown1s.wav",
"useSpawn": "",
"timer": "",
View led_matrix_htf.ino
// !!!
// Scroll down past where the alphabet is defined in order to set what to say
// !!!
#define CHAR_WIDTH 5 // each character is 5 columns wide
#define SP {0, 0, 0, 0, 0} //Space
#define DOT {0, 0, 1, 0, 0} //Space
#define EX {0, 125, 0, 0, 0} //Exclamation !
#define EX2 {0, 125, 0, 125, 0} //Exclamation !!
#define A {31, 36, 68, 36, 31}
#define B {127, 73, 73, 73, 54}
View CoderDojoYinYang.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View gist:f93ed35c692e9aac886c
// Gray text with two slashes are just helpful comments, you don’t need to type them. :)
/******* -----=====!! EASY STUFF TO MESS WITH !!=====------ ******/
// What analog pin should we use to read the value from the potentiometer?
int analogPin = 2; // Yep, you heard right: The coolest of the Analog pins...
// What pins are the LEDs connected to?
int redPin = 9;
View strand-bright.
#include <Adafruit_NeoPixel.h>
#include <avr/power.h>
#define PIN 6
// Parameter 1 = number of pixels in strip
// Parameter 2 = Arduino pin number (most are valid)
// Parameter 3 = pixel type flags, add together as needed:
// NEO_KHZ800 800 KHz bitstream (most NeoPixel products w/WS2812 LEDs)
// NEO_KHZ400 400 KHz (classic 'v1' (not v2) FLORA pixels, WS2811 drivers)
View led_toy
int PIN_BASE=2;
int PINS_TO_USE=10;
#define STANDARD 0x0
#define INSTANT 0x1 // not &0x1 ? then standard speed