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
numbers = [] | |
for i in range(3721, 7752 + 1): | |
if (i % 3 == 0) and (str(bin(i)).endswith('000') == False): | |
numbers.append(i) | |
print(numbers) | |
print(len(numbers)) |
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 <Servo.h> | |
#include <Stepper.h> | |
Stepper stepper(500, 2, 3, 4, 5); | |
#define MAXsectionsCOUNT 10 | |
#define LEFT_STOPPER 11 | |
#define RIGHT_STOPPER 12 | |
#define Servo_max 70 | |
#define Servo_min 30 | |
//#define DEBUG 1 | |
//#define DEBUG_PARSE 1 |