class Characters {
public:
int sA = 6;
int sB = 2;
int sC = 10;
int sD = 12;
int sE = 13;
int sF = 5;
int sG = 9;
int d1 = 7;
int d2 = 4;
int d3 = 3;
int d4 = 8;
int p = 11;
int c0[7] = { 6, sA, sB, sC, sD, sE, sF };
int c1[3] = { 2, sB, sC };
int c2[6] = { 5, sA, sB, sG, sD, sE ...
Search found 3 matches
- Sun May 04, 2025 1:09 am
- Forum: Embedded development / microcontrollers / Arduino
- Topic: assigment - 7 segment indicator
- Replies: 2
- Views: 121567
- Thu May 01, 2025 9:50 pm
- Forum: Embedded development / microcontrollers / Arduino
- Topic: assigment - 7 segment indicator
- Replies: 2
- Views: 121567
Re: assigment - 7 segment indicator
4 Digit 7 Segment display, display things by only displaying one digit at a time in one place so 1234 the one will be displayed and the other spots turned off then 2 will turn on on the second spot and the rest turned off and so on and set forth. The reason this works is because it goes so fast the ...
- Thu Apr 24, 2025 10:03 pm
- Forum: Embedded development / microcontrollers / Arduino
- Topic: Binary Led Display
- Replies: 0
- Views: 58623
Binary Led Display
This is the code for an 8 bit binary display using arduino nano
void setup() {
pinMode(2, OUTPUT);
pinMode(3, OUTPUT);
pinMode(4, OUTPUT);
pinMode(5, OUTPUT);
pinMode(6, OUTPUT);
pinMode(7, OUTPUT);
pinMode(8, OUTPUT);
pinMode(9, OUTPUT);
Serial.begin(9600);
}
void loop() {
for(int ...
void setup() {
pinMode(2, OUTPUT);
pinMode(3, OUTPUT);
pinMode(4, OUTPUT);
pinMode(5, OUTPUT);
pinMode(6, OUTPUT);
pinMode(7, OUTPUT);
pinMode(8, OUTPUT);
pinMode(9, OUTPUT);
Serial.begin(9600);
}
void loop() {
for(int ...