This file contains 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
/* Simple Audio library demonstration - pocket synth with C major scale and 4 wave types */ | |
#include <Audio.h> | |
#include <Adafruit_NeoTrellisM4.h> | |
#include <Adafruit_Sensor.h> | |
#include <Adafruit_ADXL343.h> | |
Adafruit_ADXL343 accel = Adafruit_ADXL343(123, &Wire1); | |
AudioSynthWaveform wave0, wave1, wave2, wave3; | |
AudioSynthWaveform *waves[4] = { |
This file contains 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
/* Simple Audio library demonstration - pocket synth with C major scale and 4 wave types */ | |
#include <Audio.h> | |
#include <Adafruit_NeoTrellisM4.h> | |
#include <Adafruit_Sensor.h> | |
#include <Adafruit_ADXL343.h> | |
Adafruit_ADXL343 accel = Adafruit_ADXL343(123, &Wire1); | |
AudioSynthWaveform wave0, wave1, wave2, wave3; | |
AudioSynthWaveform *waves[4] = { |
This file contains 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 displayio | |
import board | |
from adafruit_display_text.label import Label | |
from adafruit_bitmap_font import bitmap_font | |
import time | |
import adafruit_touchscreen | |
ts = adafruit_touchscreen.Touchscreen(board.TOUCH_XL, board.TOUCH_XR, | |
board.TOUCH_YD, board.TOUCH_YU, | |
calibration=((5200, 59000), (5800, 57000)), |
This file contains 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 <Wire.h> | |
#include <SPI.h> | |
#include <WiFi101.h> | |
#include <Adafruit_NeoPixel.h> | |
const char* ssid = "yourwifissid"; // The SSID (name) of your Wi-Fi network | |
const char* pass = "yourwifipassword"; // The password of the Wi-Fi network | |
String payload; // Variables to accept data |
This file contains 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 time | |
import board | |
from digitalio import DigitalInOut, Direction, Pull | |
import neopixel | |
import storage | |
import sys | |
def write_out(markname, marktime): | |
try: | |
with open("/benchmarks.csv", "a") as bench: |
This file contains 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
int y; | |
float z; | |
int start; | |
String board = "Arduino Nano Every"; | |
int sensorValue; | |
long loops = 1000000; | |
void setup() { |
This file contains 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 "Adafruit_NeoTrellisM4.h" | |
#include <Audio.h> | |
//audio setup from the audio tool | |
AudioSynthSimpleDrum drum3; //xy=76,123 | |
AudioSynthSimpleDrum drum4; //xy=77,181 | |
AudioSynthSimpleDrum drum1; //xy=78,31 | |
AudioSynthSimpleDrum drum2; //xy=78,77 | |
AudioMixer4 mixer1; //xy=246,100 | |
AudioEffectBitcrusher bitcrusher1; //xy=295,221 |
This file contains 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 <ArduinoJson.h> | |
#include <WiFi.h> | |
#include <FastLED.h> | |
#define NUM_BOARDS 1# define NUM_LEDS 64 * NUM_BOARDS | |
# define DATA_PIN 18# define CLOCK_PIN 5 |
This file contains 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 board | |
import neopixel | |
from adafruit_ble.uart_server import UARTServer | |
from time import sleep | |
import adafruit_thermistor | |
import analogio | |
import math | |
from adafruit_bluefruit_connect.packet import Packet | |
from adafruit_bluefruit_connect.location_packet import LocationPacket |
This file contains 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 time | |
import array | |
import math | |
import board | |
import digitalio | |
try: | |
from audiocore import RawSample | |
except ImportError: | |
from audioio import RawSample |
OlderNewer