<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://lms.onnocenter.or.id/wiki/index.php?action=history&amp;feed=atom&amp;title=Arduino%3A_Rotary_Encoder</id>
	<title>Arduino: Rotary Encoder - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://lms.onnocenter.or.id/wiki/index.php?action=history&amp;feed=atom&amp;title=Arduino%3A_Rotary_Encoder"/>
	<link rel="alternate" type="text/html" href="https://lms.onnocenter.or.id/wiki/index.php?title=Arduino:_Rotary_Encoder&amp;action=history"/>
	<updated>2026-04-20T16:50:13Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://lms.onnocenter.or.id/wiki/index.php?title=Arduino:_Rotary_Encoder&amp;diff=46322&amp;oldid=prev</id>
		<title>Onnowpurbo: Created page with &quot;   #include &lt;rotary.h&gt;    Rotary r = Rotary(2, 3);    void setup() {    Serial.begin(9600);    PCICR |= (1 &lt;&lt; PCIE2);    PCMSK2 |= (1 &lt;&lt; PCINT18) | (1 &lt;&lt; PCINT19);    sei();...&quot;</title>
		<link rel="alternate" type="text/html" href="https://lms.onnocenter.or.id/wiki/index.php?title=Arduino:_Rotary_Encoder&amp;diff=46322&amp;oldid=prev"/>
		<updated>2016-10-06T00:33:43Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;   #include &amp;lt;rotary.h&amp;gt;    Rotary r = Rotary(2, 3);    void setup() {    Serial.begin(9600);    PCICR |= (1 &amp;lt;&amp;lt; PCIE2);    PCMSK2 |= (1 &amp;lt;&amp;lt; PCINT18) | (1 &amp;lt;&amp;lt; PCINT19);    sei();...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
 #include &amp;lt;rotary.h&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 Rotary r = Rotary(2, 3);&lt;br /&gt;
 &lt;br /&gt;
 void setup() {&lt;br /&gt;
   Serial.begin(9600);&lt;br /&gt;
   PCICR |= (1 &amp;lt;&amp;lt; PCIE2);&lt;br /&gt;
   PCMSK2 |= (1 &amp;lt;&amp;lt; PCINT18) | (1 &amp;lt;&amp;lt; PCINT19);&lt;br /&gt;
   sei();&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 void loop() { &lt;br /&gt;
 &lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 ISR(PCINT2_vect) {&lt;br /&gt;
   unsigned char result = r.process();&lt;br /&gt;
   if (result) {&lt;br /&gt;
     Serial.println(result == DIR_CW ? &amp;quot;Right&amp;quot; : &amp;quot;Left&amp;quot;);&lt;br /&gt;
   }&lt;br /&gt;
 }&lt;/div&gt;</summary>
		<author><name>Onnowpurbo</name></author>
	</entry>
</feed>