<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ko">
	<id>https://arduwiki.com/html/index.php?action=history&amp;feed=atom&amp;title=3x4_Matrix_Keypad</id>
	<title>3x4 Matrix Keypad - 편집 역사</title>
	<link rel="self" type="application/atom+xml" href="https://arduwiki.com/html/index.php?action=history&amp;feed=atom&amp;title=3x4_Matrix_Keypad"/>
	<link rel="alternate" type="text/html" href="https://arduwiki.com/html/index.php?title=3x4_Matrix_Keypad&amp;action=history"/>
	<updated>2026-04-28T21:24:14Z</updated>
	<subtitle>이 문서의 편집 역사</subtitle>
	<generator>MediaWiki 1.40.1</generator>
	<entry>
		<id>https://arduwiki.com/html/index.php?title=3x4_Matrix_Keypad&amp;diff=2415&amp;oldid=prev</id>
		<title>2025년 3월 27일 (목) 06:21에 ArduWiki님의 편집</title>
		<link rel="alternate" type="text/html" href="https://arduwiki.com/html/index.php?title=3x4_Matrix_Keypad&amp;diff=2415&amp;oldid=prev"/>
		<updated>2025-03-27T06:21:20Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ko&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← 이전 판&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2025년 3월 27일 (목) 15:21 판&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;1번째 줄:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;1번째 줄:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{#seo:|title=&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;아두위키 &lt;/del&gt;: &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;아두이노 &lt;/del&gt;3x4 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;키패드 가이드&lt;/del&gt;|title_mode=append|keywords=&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;아두이노&lt;/del&gt;, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;정보과학&lt;/del&gt;, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;메이커학습&lt;/del&gt;, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;수행평가&lt;/del&gt;, 3x4 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;키패드&lt;/del&gt;, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;아두이노 작품&lt;/del&gt;, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;캡스톤작품&lt;/del&gt;, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;아두이노 예제코드&lt;/del&gt;|description=&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;아두이노로 &lt;/del&gt;3x4 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;키패드를 제어하는 방법&lt;/del&gt;(&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;기본정보&lt;/del&gt;, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;회로&lt;/del&gt;, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;예제 코드&lt;/del&gt;)&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;을 소개합니다&lt;/del&gt;. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;정보과학과 메이커수업에 활용가능합니다&lt;/del&gt;.}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{#seo:|title=&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ArduWiki &lt;/ins&gt;: &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Arduino &lt;/ins&gt;3x4 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Keypad Guide&lt;/ins&gt;|title_mode=append|keywords=&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Arduino&lt;/ins&gt;, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Computer Science&lt;/ins&gt;, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Maker Learning&lt;/ins&gt;, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Performance Assessment&lt;/ins&gt;, 3x4 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Keypad&lt;/ins&gt;, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Arduino Project&lt;/ins&gt;, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Capstone Project&lt;/ins&gt;, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Arduino Example Code&lt;/ins&gt;|description=&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Introduces how to control a &lt;/ins&gt;3x4 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;keypad using Arduino &lt;/ins&gt;(&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;basic info&lt;/ins&gt;, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;wiring&lt;/ins&gt;, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;example code&lt;/ins&gt;). &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Useful for computer science and maker classes&lt;/ins&gt;.}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:3X4키패드대표이미지.jpg|center|class=coders100]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:3X4키패드대표이미지.jpg|center|class=coders100]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;It&amp;#039;s a 3x4 numeric type keypad. The far-left and far-right pins are not used, leaving pins 1 to 7, starting from the left, for use.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;It&amp;#039;s a 3x4 numeric type keypad. The far-left and far-right pins are not used, leaving pins 1 to 7, starting from the left, for use.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key arduwiki:diff::1.12:old-1980:rev-2415 --&gt;
&lt;/table&gt;</summary>
		<author><name>ArduWiki</name></author>
	</entry>
	<entry>
		<id>https://arduwiki.com/html/index.php?title=3x4_Matrix_Keypad&amp;diff=1980&amp;oldid=prev</id>
		<title>2024년 12월 6일 (금) 12:13에 ArduWiki님의 편집</title>
		<link rel="alternate" type="text/html" href="https://arduwiki.com/html/index.php?title=3x4_Matrix_Keypad&amp;diff=1980&amp;oldid=prev"/>
		<updated>2024-12-06T12:13:27Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ko&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← 이전 판&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2024년 12월 6일 (금) 21:13 판&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l65&quot;&gt;65번째 줄:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;65번째 줄:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;};&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;};&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;byte rowPins[ROWS] = { 5, 3&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, 4&lt;/del&gt;, 2 };&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;byte rowPins[ROWS] = { 5&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, 4&lt;/ins&gt;, 3, 2 };&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;byte colPins[COLS] = { 8, 7, 6 };&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;byte colPins[COLS] = { 8, 7, 6 };&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key arduwiki:diff::1.12:old-909:rev-1980 --&gt;
&lt;/table&gt;</summary>
		<author><name>ArduWiki</name></author>
	</entry>
	<entry>
		<id>https://arduwiki.com/html/index.php?title=3x4_Matrix_Keypad&amp;diff=909&amp;oldid=prev</id>
		<title>ArduWiki: Created page with &quot;{{#seo:|title=아두위키 : 아두이노 3x4 키패드 가이드|title_mode=append|keywords=아두이노, 정보과학, 메이커학습, 수행평가, 3x4 키패드, 아두이노 작품, 캡스톤작품, 아두이노 예제코드|description=아두이노로 3x4 키패드를 제어하는 방법(기본정보, 회로, 예제 코드)을 소개합니다. 정보과학과 메이커수업에 활용가능합니다.}} [[File:3X4키패드대표이미지.jpg|center|class=coders100]...&quot;</title>
		<link rel="alternate" type="text/html" href="https://arduwiki.com/html/index.php?title=3x4_Matrix_Keypad&amp;diff=909&amp;oldid=prev"/>
		<updated>2024-03-24T06:05:04Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{#seo:|title=아두위키 : 아두이노 3x4 키패드 가이드|title_mode=append|keywords=아두이노, 정보과학, 메이커학습, 수행평가, 3x4 키패드, 아두이노 작품, 캡스톤작품, 아두이노 예제코드|description=아두이노로 3x4 키패드를 제어하는 방법(기본정보, 회로, 예제 코드)을 소개합니다. 정보과학과 메이커수업에 활용가능합니다.}} [[File:3X4키패드대표이미지.jpg|center|class=coders100]...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;새 문서&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{#seo:|title=아두위키 : 아두이노 3x4 키패드 가이드|title_mode=append|keywords=아두이노, 정보과학, 메이커학습, 수행평가, 3x4 키패드, 아두이노 작품, 캡스톤작품, 아두이노 예제코드|description=아두이노로 3x4 키패드를 제어하는 방법(기본정보, 회로, 예제 코드)을 소개합니다. 정보과학과 메이커수업에 활용가능합니다.}}&lt;br /&gt;
[[File:3X4키패드대표이미지.jpg|center|class=coders100]]&lt;br /&gt;
It&amp;#039;s a 3x4 numeric type keypad. The far-left and far-right pins are not used, leaving pins 1 to 7, starting from the left, for use.&lt;br /&gt;
&lt;br /&gt;
You can check the pin numbers in the image provided.&lt;br /&gt;
&lt;br /&gt;
[For example, pressing &amp;#039;1&amp;#039; on the keypad will output signals from pins 3 and 2.]&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;Specifications&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
* Operating Voltage: 3 ~ 5V&lt;br /&gt;
* Resistance: 10 ~ 150 ohms&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;Example Required Hardware&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
* Arduino board&lt;br /&gt;
* Jumper cables&lt;br /&gt;
* 3x4 keypad&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;Library&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
* Keypad by Mark Stanley, Alexander Brevig (installable via the Library Manager)&lt;br /&gt;
* Please refer to the [[Arduino Libraries|Arduino library link]] for instructions on how to use the library.&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;Connection&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; rowspan=&amp;quot;1&amp;quot; |keypad&lt;br /&gt;
| colspan=&amp;quot;3&amp;quot; rowspan=&amp;quot;1&amp;quot; |Arduino&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; rowspan=&amp;quot;1&amp;quot; |1&lt;br /&gt;
| colspan=&amp;quot;3&amp;quot; rowspan=&amp;quot;1&amp;quot; |D7&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; rowspan=&amp;quot;1&amp;quot; |2&lt;br /&gt;
| colspan=&amp;quot;3&amp;quot; rowspan=&amp;quot;1&amp;quot; |D5&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; rowspan=&amp;quot;1&amp;quot; |3&lt;br /&gt;
| colspan=&amp;quot;3&amp;quot; rowspan=&amp;quot;1&amp;quot; |D8&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; rowspan=&amp;quot;1&amp;quot; |4&lt;br /&gt;
| colspan=&amp;quot;3&amp;quot; rowspan=&amp;quot;1&amp;quot; |D2&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; rowspan=&amp;quot;1&amp;quot; |5&lt;br /&gt;
| colspan=&amp;quot;3&amp;quot; rowspan=&amp;quot;1&amp;quot; |D6&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; rowspan=&amp;quot;1&amp;quot; |6&lt;br /&gt;
| colspan=&amp;quot;3&amp;quot; rowspan=&amp;quot;1&amp;quot; |D3&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; rowspan=&amp;quot;1&amp;quot; |7&lt;br /&gt;
| colspan=&amp;quot;3&amp;quot; rowspan=&amp;quot;1&amp;quot; |D4&lt;br /&gt;
|}&lt;br /&gt;
[[File:34키패드회로.png|center|class=coders100]]&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;example code&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
This code outputs to the serial monitor when a key on the keypad is pressed.&amp;lt;syntaxhighlight lang=&amp;quot;c++&amp;quot; line=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
#include &amp;lt;Keypad.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
const byte ROWS = 4;&lt;br /&gt;
const byte COLS = 3;&lt;br /&gt;
&lt;br /&gt;
char keys[ROWS][COLS] = {&lt;br /&gt;
  { &amp;#039;1&amp;#039;, &amp;#039;2&amp;#039;, &amp;#039;3&amp;#039; },&lt;br /&gt;
  { &amp;#039;4&amp;#039;, &amp;#039;5&amp;#039;, &amp;#039;6&amp;#039; },&lt;br /&gt;
  { &amp;#039;7&amp;#039;, &amp;#039;8&amp;#039;, &amp;#039;9&amp;#039; },&lt;br /&gt;
  { &amp;#039;*&amp;#039;, &amp;#039;0&amp;#039;, &amp;#039;#&amp;#039; }&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
byte rowPins[ROWS] = { 5, 3, 4, 2 };&lt;br /&gt;
byte colPins[COLS] = { 8, 7, 6 };&lt;br /&gt;
&lt;br /&gt;
Keypad keypad = Keypad(makeKeymap(keys), rowPins, colPins, ROWS, COLS);&lt;br /&gt;
&lt;br /&gt;
void setup(){&lt;br /&gt;
  Serial.begin(9600);&lt;br /&gt;
  Serial.println(&amp;quot;Serial start&amp;quot;);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void loop(){&lt;br /&gt;
  char key = keypad.getKey();&lt;br /&gt;
&lt;br /&gt;
  if(key != NO_KEY){&lt;br /&gt;
      Serial.print(key);&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Execution Result ===&lt;br /&gt;
[[File:34키패드 실행결과.png|center|class=coders100]]&lt;/div&gt;</summary>
		<author><name>ArduWiki</name></author>
	</entry>
</feed>