Slicer Discord
Jeu memory (samon say) – 3D printable model from Thingiverse Thingiverse

Jeu memory (samon say)

1 Downloads
3 Likes
0 Makes
Go to Model
Conception d'un jeu de memory avec arduino nano.

Code du jeu avec un compteur de 50 cycles:

int data_pin = 3;
int latch_pin = 2;
int clock_pin = 4;
int speaker = 5;
int button1 = 6;
int button2 = 7;
int button3 = 8;
int button4 = 9;
int led1 = 10;
int led2 = 11;
int led3 = 12;
int led4 = 13;

int sound[]={135,440,492,932};
int pause = 400;
int enter_pause = 20;
int lesspause = 10;
int lives = 3;
int number[]={192,249,164,176,153,146,130,248,128,144,64,121,36,48,25,18,2,120,0,16};
int melody[]={0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19};
int led[]={10,11,12,13};
int level = 0;
int melodybox = 0;

int buttonState1 = 0;
int buttonState2 = 0;
int buttonState3 = 0;
int buttonState4 = 0;

boolean stopp = true;
boolean allowbuttonpress = false;
//boolean correct = true;



void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
pinMode(data_pin, OUTPUT); //Data
pinMode(latch_pin, OUTPUT); //Latch
pinMode(clock_pin,
Source
Thingiverse
What you need to print this: Beginner Low confidence
Single piece
Supports 1/3
Assembly 0/3
Settings 1/3
Bed size 0/3
Post-process 0/3
Printer
FDM / FFF
File format
STL
Material
TPU
Software
Cura, PrusaSlicer, or similar
No ratings yet
No comments yet – be the first!
Feed Blog Slicer Cost Calculator Image Search Submit Kontakt Discord ☕ Buy me a coffee
DE EN FR ES IT NL

Add to Collection