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
{ | |
"$id": "https://example.com/library.json", | |
"$schema": "https://json-schema.org/draft/2020-12/schema", | |
"title": "library.json schema", | |
"type": "object", | |
"properties": { | |
"name": { | |
"type": "string", | |
"maxLength": 50, | |
"description": "A name of a library.\nMust be unique in the PlatformIO Registry\nShould be slug style for simplicity, consistency, and compatibility. Example: HelloWorld\nCan contain a-z, digits, and dashes (but not start/end with them)\nConsecutive dashes and [:;/,@<>] chars are not allowed.", |
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
# 3. Import libraries and modules | |
import numpy as np | |
np.random.seed(123) # for reproducibility | |
from keras.models import Sequential | |
from keras.layers import Dense, Dropout, Activation, Flatten | |
from keras.layers import Convolution1D, Convolution2D, MaxPooling1D,MaxPooling2D,AveragePooling2D,AveragePooling1D, BatchNormalization | |
from keras.utils import np_utils | |
from keras.datasets import mnist | |
from keras.layers.core import Reshape |
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
# 3. Import libraries and modules | |
import numpy as np | |
np.random.seed(123) # for reproducibility | |
from keras.models import Sequential | |
from keras.layers import Dense, Dropout, Activation, Flatten | |
from keras.layers import Convolution2D, MaxPooling2D,AveragePooling2D | |
from keras.utils import np_utils | |
from keras.datasets import mnist | |
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 <TM1637Display.h> | |
#if defined(__AVR_ATtiny85__) | |
#include <Adafruit_SoftServo.h> | |
#define Servo Adafruit_SoftServo | |
#define SERVO_PIN PB0 | |
#define POT_PIN PB1 | |
#define DISPLAY_CLK PB3 | |
#define DISPLAY_DIO PB4 |