This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
#!/usr/bin/python | |
import urllib | |
import urllib2 | |
import cookielib | |
import re | |
from ClientForm import ParseResponse |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// api http://help.adobe.com/ko_KR/AS3LCR/Flash_10.0/ | |
package { | |
import flash.utils.Timer; | |
import flash.display.Bitmap; | |
import flash.display.Sprite; | |
import flash.events.Event; | |
import flash.events.TimerEvent; | |
import flash.ui.Mouse; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# Signature Survey Python version | |
# http://c2.com/doc/SignatureSurvey/ | |
# 2011, Donghee Park | |
import sys | |
import re | |
re_def = re.compile("def (.*):$") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "mbed.h" | |
DigitalOut led1(LED1); | |
DigitalOut led2(LED2); | |
int main() { | |
int i = 0; | |
while(1) { | |
if( i % 2 == 0) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "mbed.h" | |
DigitalOut led1(LED1); | |
DigitalOut led2(LED2); | |
int main() { | |
int i = 0; | |
while(1) { | |
for( i = 0 ; i < 4 ; i++ ) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// --+-------+--+-- 3.3v | |
// | | | | |
// +--------+ | # # 1k pullups | |
// +-- A0 -| 1 8 |- VDD --+ # # | |
// +-- A1 -| 2 7 |- WP ----- p29 | | | |
// +-- A2 -| 3 6 |- SCL ----------+--|-- p27 | |
// +- GND -| 4 5 |- SDA -------------+-- p28 | |
// | +--------+ | |
// GND |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// TODO: pull 필요 없음! | |
// +--------+ | |
// | ADD0+-------- GND | |
// |TMP102 | | |
// |SCL SDA| | |
// |--+--+--| | |
// | | | |
// ----+--+----------- p27 | |
// -------+----------- p28 | |
// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// | |
// +-------+ +---------+ | |
// | WS2801| | mbed1768| | |
// | | | | | |
// | |- SDI --------- p5 - | | | |
// | |- CKI --------- p6 - | | | |
// +-------+ +---------+ | |
// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "mbed.h" | |
Serial pc(USBTX, USBRX); | |
DigitalOut myled(LED1); | |
char serialValue; | |
int main() { | |
while(1) { | |
if(pc.readable()) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "mbed.h" | |
DigitalOut cki(p6); | |
DigitalOut sdi(p5); | |
int i; | |
int main(){ | |
while(1){ | |
cki=0; | |
wait_ms(1); |
OlderNewer