<?xml version="1.0"?>
<rss version="2.0">
   <channel>
      <title>코드씨 by 손서빈</title>
      <link>https://padlet.com/happynothingfoundation/va450wgkt9rm9ift</link>
      <description></description>
      <language>en-us</language>
      <pubDate>2023-05-31 05:53:00 UTC</pubDate>
      <lastBuildDate>2023-12-20 21:27:23 UTC</lastBuildDate>
      <webMaster>hello@padlet.com</webMaster>
      <image>
         <url></url>
      </image>
      <item>
         <title></title>
         <author>ssbin008</author>
         <link>https://padlet.com/happynothingfoundation/va450wgkt9rm9ift/wish/2827772363</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/1648025378/39e114906de4aa1aee9442edc8cbbcc0/20231218sketch_dec18a.ino" />
         <pubDate>2023-12-18 00:47:49 UTC</pubDate>
         <guid>https://padlet.com/happynothingfoundation/va450wgkt9rm9ift/wish/2827772363</guid>
      </item>
      <item>
         <title></title>
         <author>ssbin008</author>
         <link>https://padlet.com/happynothingfoundation/va450wgkt9rm9ift/wish/2828105151</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/1648025378/f4e3d6c6657f4980ac5a5620dd98fc7c/TT20231218sketch_dec18a.ino" />
         <pubDate>2023-12-18 08:00:35 UTC</pubDate>
         <guid>https://padlet.com/happynothingfoundation/va450wgkt9rm9ift/wish/2828105151</guid>
      </item>
      <item>
         <title></title>
         <author>ssbin008</author>
         <link>https://padlet.com/happynothingfoundation/va450wgkt9rm9ift/wish/2828738546</link>
         <description><![CDATA[<pre><code class="language-python">import serial 
import time
ser=serial.Serial('COM7',9800,timeout=1)
time.sleep(2)
while True:
    gd=ser.readline()
    if gd:
        gd=gd.decode()
        
        num=int(float(gd))
        print(num)
</code></pre>]]></description>
         <enclosure url="" />
         <pubDate>2023-12-18 18:42:17 UTC</pubDate>
         <guid>https://padlet.com/happynothingfoundation/va450wgkt9rm9ift/wish/2828738546</guid>
      </item>
      <item>
         <title>코딩</title>
         <author>ssbin008</author>
         <link>https://padlet.com/happynothingfoundation/va450wgkt9rm9ift/wish/2830051537</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/1648025378/fd98a84cb06d746f94983a6c45fb45f3/final_reach.py" />
         <pubDate>2023-12-19 22:12:02 UTC</pubDate>
         <guid>https://padlet.com/happynothingfoundation/va450wgkt9rm9ift/wish/2830051537</guid>
      </item>
      <item>
         <title>아두이노</title>
         <author>ssbin008</author>
         <link>https://padlet.com/happynothingfoundation/va450wgkt9rm9ift/wish/2830052014</link>
         <description><![CDATA[<pre><code class="language-cpp">int echoPin = 12;
int trigPin = 13;

void setup() {
	Serial.begin(9600);
	// trig를 출력모드로 설정, echo를 입력모드로 설정
	pinMode(trigPin, OUTPUT);
	pinMode(echoPin, INPUT);
}

void loop() {
	float duration, distance;
	
	// 초음파를 보낸다. 다 보내면 echo가 HIGH 상태로 대기하게 된다.
	digitalWrite(trigPin, HIGH);
	delay(10);
	digitalWrite(trigPin, LOW);
	
	// echoPin 이 HIGH를 유지한 시간을 저장 한다.
	duration = pulseIn(echoPin, HIGH); 

	// HIGH 였을 때 시간(초음파가 보냈다가 다시 들어온 시간)을 가지고 거리를 계산 한다.
	distance = ((float)(340 * duration) / 10000) / 2;  
Serial.println(duration);
delay(400);
}
</code></pre>]]></description>
         <enclosure url="" />
         <pubDate>2023-12-19 22:13:10 UTC</pubDate>
         <guid>https://padlet.com/happynothingfoundation/va450wgkt9rm9ift/wish/2830052014</guid>
      </item>
      <item>
         <title>routing.py</title>
         <author>ssbin008</author>
         <link>https://padlet.com/happynothingfoundation/va450wgkt9rm9ift/wish/2831091228</link>
         <description><![CDATA[<pre><code class="language-python">from channels.routing import ProtocolTypeRouter, URLRouter
from django.urls import path
from myappp.consumers import MyConsumer

application = ProtocolTypeRouter({
    'http': get_asgi_application(),
    'websocket': AuthMiddlewareStack(
        URLRouter([
            path('ws/chat/', ChatConsumer.as_asgi()),
        ])
    ),
})
</code></pre>]]></description>
         <enclosure url="" />
         <pubDate>2023-12-20 21:23:54 UTC</pubDate>
         <guid>https://padlet.com/happynothingfoundation/va450wgkt9rm9ift/wish/2831091228</guid>
      </item>
      <item>
         <title></title>
         <author>ssbin008</author>
         <link>https://padlet.com/happynothingfoundation/va450wgkt9rm9ift/wish/2831091414</link>
         <description><![CDATA[<pre><code class="language-python">python ASGI_APPLICATION='firstproject.routing.application'

'django.template.context_processors.request',

'channels'</code></pre><p><br/></p>]]></description>
         <enclosure url="" />
         <pubDate>2023-12-20 21:24:23 UTC</pubDate>
         <guid>https://padlet.com/happynothingfoundation/va450wgkt9rm9ift/wish/2831091414</guid>
      </item>
      <item>
         <title></title>
         <author>ssbin008</author>
         <link>https://padlet.com/happynothingfoundation/va450wgkt9rm9ift/wish/2831092099</link>
         <description><![CDATA[<pre><code class="language-python">path('new/',include('news.urls'))</code></pre>]]></description>
         <enclosure url="" />
         <pubDate>2023-12-20 21:26:02 UTC</pubDate>
         <guid>https://padlet.com/happynothingfoundation/va450wgkt9rm9ift/wish/2831092099</guid>
      </item>
   </channel>
</rss>
