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
// Written by Nick Gammon | |
// February 2011 | |
/** | |
* Send arbitrary number of bits at whatever clock rate (tested at 500 KHZ and 500 HZ). | |
* This script will capture the SPI bytes, when a '\n' is recieved it will then output | |
* the captured byte stream via the serial. | |
*/ | |
#include <SPI.h> |
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
# -*- coding: utf-8 -*- | |
""" | |
Bandlimited versions of scipy.signal.waveforms. | |
Intent is mathematical perfection over performance; | |
these use additive synthesis, so they are slow, but exact. | |
Less ideal methods using BLIT: | |
Sawtooth can be made by integrating BLIT minus a DC value to prevent integrator wandering off | |
Square can be made by integrating bipolar BLIT |
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
#pragma once | |
#ifndef CONVOLUTION_H_INCLUDED | |
#define CONVOLUTION_H_INCLUDED | |
/** | |
* Separable Convolution routines with SSE and NEON intrinsics | |
* | |
* this implementation is based on OpenCV Filter Class | |
* with template optimizations and SIMD intrinsic | |
* |