일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
- Hasselblad 500cm
- Minolta CLE
- kodak t-max 400
- Kodak 400TX
- ZeissIkon ZI
- 4870
- Kentmere 400
- FujiFilm GFX50s
- cs50/2.5
- cf50/4 fle
- FujiFilm C200
- Germany
- G28/2.8
- Kodak Ektar 100
- fujifilm velvia 50
- Mamiya 7
- Rollei35s
- M-Rokkor 40/2
- SONY A7
- 2018 미국출장
- Contax G2
- 2019 유럽여행
- Kodak 5222
- Leica M7
- cf80/2.8
- GRD2
- Minolta TC-1
- Kodak T-Max 100
- Nikon 28Ti
- N80/4
- Today
- Total
목록컴퓨터 (104)
J 창고
Auduino Keypad 라이브러리 링크 Pin NumberRow Pin = 1, 2, 3, 4Col Pin = 5, 6, 7, 8 example #include const byte ROWS = 4; // Four rowsconst byte COLS = 4; // Four columns// Define the Keymapchar keys[ROWS][COLS] = { {'1','2','3','A'}, {'4','5','6','B'}, {'7','8','9','C'}, {'*','0','#','D'}};// Connect keypad ROW0, ROW1, ROW2 and ROW3 to these Arduino pins.byte rowPins[ROWS] = { 12, 11, 10, 9 };// Connect..
int led_red = 4;int led_blue = 5;int ledState_red = LOW;int ledState_blue = HIGH; long previousMillis = 0; long interval = 1000; void setup(){ pinMode(led_red, OUTPUT); pinMode(led_blue, OUTPUT);} void loop(){ unsigned long currentMillis = millis(); if(currentMillis - previousMillis > interval){ previousMillis = currentMillis; if(ledState_red == LOW){ ledState_red = HIGH; ledState_blue = LOW; } ..
#include LiquidCrystal lcd(7, 8, 9, 10, 11, 12); int state = 0; void setup() { lcd.begin(16, 2); attachInterrupt(0, lcd_print_F, CHANGE); } void loop() { lcd.setCursor(0, 0); lcd.print(millis()/1000); if(state == HIGH){ lcd.setCursor(0, 1); lcd.print("Button ON"); } else{ lcd.setCursor(0, 1); lcd.print(" "); }} void lcd_print_F(){ state = !state;} ================================================..
int cds_1 = A5;int cds_2 = A4;int cds_3 = A3; int led_1 = 9;int led_2 = 10;int led_3 = 11; int cds_1_value = 0;int cds_2_value = 0;int cds_3_value = 0; void setup(){ pinMode(led_1, OUTPUT); pinMode(led_2, OUTPUT); pinMode(led_3, OUTPUT); Serial.begin(9600);} void loop(){ int led_1_value = 0; int led_2_value = 0; int led_3_value = 0; cds_1_value = analogRead(cds_1); cds_2_value = analogRead(cds_2..
int dataPin = 2;int clockPin = 3;int latchPin = 4; int analogPin = A5;int sensorValue = 0;int number = 0; // 0에서 9까지 숫자 표시를 위한 세그먼트 a, b, c, d, e, f, g, dp의 점멸 패턴// 켜지는 부분이 1로 표현됨 byte digits_data[10] =//{0xFC, 0x60, 0xDA, 0xF2, 0x66, 0xB6, 0xBE, 0xE4, 0xFE, 0xE6}; //Common Anode{0x03, 0x9F, 0x25, 0x0D, 0x99, 0x49, 0x41, 0x1B, 0x01, 0x19}; //Comon Cathode void setup(){ pinMode(dataPin, OUTPUT); ..