'잡동사니'에 해당되는 글 12954건

  1. 2013.01.02 Hi-Z / Tristate / 플로트(float)
  2. 2013.01.02 도대체 왜 이렇게 미친듯이 오를까? 2
  3. 2013.01.01 2013년 새해가 밝았구나 4
  4. 2012.12.31 lisp 반복문
  5. 2012.12.31 2013년 할일 2
  6. 2012.12.30 서울 남산 한옥 마을 2
  7. 2012.12.30 해를 마무리 하며
  8. 2012.12.29 clisp
  9. 2012.12.29 lisp 기본함수
  10. 2012.12.29 xlisp-plus 3.05
embeded2013. 1. 2. 18:59
i2c 등의 '버스'에서 흔히 볼수 있는 이 써글 녀석은
여러개의 장비가 동시에 물려있는 '버스'특성으로 꽤나 중요한 용어이다.

버스로 물려있으면, 어떤 넘인가가 통신을 시작하기 위해서 회선을 잡고
전압을 변경할수 있어야 하는데, 이러한 Hi-Z(하이 임피던스) 상황이 아닌 High나 Low 일경우
값이 변하지 않아서 통신을 할 수 없는 문제가 발생한다.
이러한 이유로 버스로 잡혀있는 넘들은 Hi-Z 상태로 연결되어 있어야 한다.


머.. 제대로 이해한게 맞나 모르겠네..

[링크 :  http://blog.naver.com/zzong0815/100014686771]
[링크 :  http://ko.wikipedia.org/wiki/디지털_전자공학#.ED.95.98.EC.9D.B4_.EC.9E.84.ED.94.BC.EB.8D.98.EC.8A.A4]

'embeded' 카테고리의 다른 글

Z80 M6800  (0) 2014.01.27
기즈모 스피어 / 라즈베리 파이  (0) 2014.01.02
USB2LPT for JTAG  (0) 2013.06.21
KEIL 컴파일러 종류  (0) 2012.04.21
keil 에서 inline 함수 사용하기  (0) 2012.04.21
Posted by 구차니
새해라는거 외에는 딱히 오를 이유가 없어 보이는데
역시.. 증시는 가진자들의 잔치일뿐이려나?


Posted by 구차니
잔다고 못봄..

잔다고 하루가 끝남

적을게 없음... OTL


그래도 머라도 적어야 할거 같아서 고민  

'개소리 왈왈 > 직딩의 비애' 카테고리의 다른 글

ytn 아나운서의 난해한 패션  (2) 2013.01.25
일하기 싫어 2012년 한해정리 주저리  (4) 2013.01.18
2013년 할일  (2) 2012.12.31
해를 마무리 하며  (0) 2012.12.30
난 모하는 걸까  (0) 2012.12.26
Posted by 구차니
Programming/lisp2012. 12. 31. 21:35
c의 for나 while과 비슷한 반복문 키워드로
loop, dotimes, dolist 등이 있다.

(let ((<var1> <init1>) (<var2> <init2>) …)
<body> )

– Declares local variables.  It is best to declare variables before using them.

(dotimes (<counter> <limit> <result>)
<body>)
(let ((sum 0))
    (dotimes (i 10 sum) (setq sum (+ sum i))) ) => 45
 
[링크 : http://logic.stanford.edu/classes/cs157/2004/programming/lisp.pdf

xlisp 설명서 발췌
Looping Constructs

basic looping form
(loop <expr>...)

fsubr

<expr> the body of the loop
returns never returns (must use non-local exit, such as return)



general looping form
(do (<binding>...) (<texpr> <rexpr>...) <expr>...)
(do* (<binding>...) (<texpr> <rexpr>...) <expr>...)

fsubr. do binds simultaneously, do* binds sequentially

<binding> the variable bindings each of which is either:

1) a symbol (which is initialized to NIL)
2) a list of the form: (<sym> <init> [<step>])

where:
<sym> is the symbol to bind
<init> the initial value of the symbol
<step> a step expression

<texpr> the termination test expression
<rexpr> result expressions (the default is NIL)
<expr> the body of the loop (treated like an implicit prog)
returns the value of the last result expression



loop through a list
(dolist (<sym> <expr> [<rexpr>]) <expr>...)

fsubr

<sym> the symbol to bind to each list element
<expr> the list expression
<rexpr> the result expression (the default is NIL)
<expr> the body of the loop (treated like an implicit prog)
returns the result expression



loop from zero to n-1
(dotimes (<sym> <expr> [<rexpr>]) <expr>...)

fsubr

<sym> the symbol to bind to each value from 0 to n-1
<expr> the number of times to loop (a fixnum)
<rexpr> the result expression (the default is NIL)
<expr> the body of the loop (treated like an implicit prog)
returns the result expression 

'Programming > lisp' 카테고리의 다른 글

lisp 전역변수 / 지역변수  (0) 2013.01.09
lisp car / cdr  (0) 2013.01.03
clisp  (0) 2012.12.29
lisp 기본함수  (0) 2012.12.29
xlisp-plus 3.05  (0) 2012.12.29
Posted by 구차니
프로그래밍 언어
openCV (웹캠 하나 지를까? ㅋㅋ 있는거 좀 써!!!)
openGL (아오 정말 애증의 openGL이다)
python (openGL과 합쳐서 하나 프로젝트 진행)
cuda (컴퓨터 하나 사야 하려나.. openCV와 합쳐서 프로젝트 하나 진행)
lisp (이걸 배워서 머하는데 써먹을까..)
php + mysql (가계부 만들기 공부)
c++ (c만 하니 안되겠어 ㅠ.ㅠ)
java (c만 하니 안되겠어 ㅠ.ㅠ)

스터디
c언어 강좌 및 wiki 내용정리

운동
78kg 만들기(-12kg)
봄/여름/가을에는 자전거 꼭 주말에 한번이상 타기(60km 거리 이상으로)
봄/여름/가을에는 자전거 주중에도 한번이상 타기(40km 거리-여의도)
남산 정복하기(로드로!!)
  
직장
이직준비(9월 이후 +- 3개월)
연봉 3500 이상 노려보기? 

'개소리 왈왈 > 직딩의 비애' 카테고리의 다른 글

일하기 싫어 2012년 한해정리 주저리  (4) 2013.01.18
2013년 새해가 밝았구나  (4) 2013.01.01
해를 마무리 하며  (0) 2012.12.30
난 모하는 걸까  (0) 2012.12.26
얼마나 시간이 흘러야  (4) 2012.12.21
Posted by 구차니
부모님이 가고 싶으신지 아들을 자꾸 팔아서
아들이 운전해서 고고싱~

입구가 조금 난해해서 엉뚱한데서 헤매고 ㅋㅋ


머 전체는 이렇게 생겼다고 되어 있는데
뒷쪽에는 1994년에 완공한 1000년 타임캡슐이 있다.


구름이 잔뜩끼어서 아쉬운 하늘 ㅠ.ㅠ


그나저나 웬 국악당?


원래 이게 목적 ㅋㅋ


언제봐도 처마는 시원하면서 부드러운 느낌을 준다.


간만에 보는 장독대에 금줄 둘룬녀석


부모님의 걸어가는 뒷모습


통합기준점이라는데 2~3km 간격으로 있다는데 왜 본적이 없는거 같지?



타임캡슐사업 내용들


타임캡슐! 1000년뒤에 연다는데 1994년에서 부터 이제 겨우 20년 조금 안되게 지났구나


'개소리 왈왈 > 사진과 수다' 카테고리의 다른 글

올림픽공원 청둥오리  (0) 2013.01.12
올림픽 공원 스케이트 장  (8) 2013.01.05
어제의 지름  (0) 2012.12.20
사진기의 추억 - bulb 모드  (0) 2012.12.18
지름신 도착!  (0) 2012.12.14
Posted by 구차니
아직 출근 하루 남았어!!!!!
시발!!!!! ㅠㅠ



아는 지인과 조촐한 송년회
둘이서 파인트 2그릇 ㅋㅋㅋ

 

'개소리 왈왈 > 직딩의 비애' 카테고리의 다른 글

2013년 새해가 밝았구나  (4) 2013.01.01
2013년 할일  (2) 2012.12.31
난 모하는 걸까  (0) 2012.12.26
얼마나 시간이 흘러야  (4) 2012.12.21
오랫만에 하루늦은 퇴근일기 - 20121219  (0) 2012.12.19
Posted by 구차니
Programming/lisp2012. 12. 29. 13:19
윈도우용은 cygwin으로 써야하는군하 -_-

[링크 : http://www.clisp.org/]

'Programming > lisp' 카테고리의 다른 글

lisp car / cdr  (0) 2013.01.03
lisp 반복문  (0) 2012.12.31
lisp 기본함수  (0) 2012.12.29
xlisp-plus 3.05  (0) 2012.12.29
lisp vector  (0) 2012.12.14
Posted by 구차니
Programming/lisp2012. 12. 29. 13:02
xlisp 도움말 발췌

Symbol Functions


set the global value of a symbol
(set <sym> <expr>)
You can also use (setf (symbol-value <sym>) <expr>)
<sym> the symbol being set
<expr> the new value
returns the new value


set the value of a symbol
(setq [<sym> <expr>]...)
fsubr. You can also use (setf <sym> <expr>)
<sym> the symbol being set (quoted)
<expr> the new value
returns the last new value or NIL if no arguments
 

define a function
(defun <sym> <fargs> <expr>...)
define a macro
(defmacro <sym> <fargs> <expr>...)
fsubr
<sym> symbol being defined (quoted)
<fargs> formal argument list (lambda list) (quoted)
<expr> expressions constituting the body of the function (quoted)
returns the function symbol


---
> (defun prt () '(be))                    
prt                                       
> prt                                     
error: unbound variable - prt             
if continued: try evaluating symbol again 
1> (prt)                                  
(be)                                      
 
1> (defun add (a b) (+ a b))             
add                                      
1> ( add 2 4)                            
6                                        
1> add                                   
error: unbound variable - add            
if continued: try evaluating symbol again
2> (add)                                 
error: too few arguments                 

'Programming > lisp' 카테고리의 다른 글

lisp 반복문  (0) 2012.12.31
clisp  (0) 2012.12.29
xlisp-plus 3.05  (0) 2012.12.29
lisp vector  (0) 2012.12.14
lisp atom  (0) 2012.12.11
Posted by 구차니
Programming/lisp2012. 12. 29. 00:07
1999년 이후로 업뎃안하다가 macosx와 64bit 지원으로 인해
3.04에서 3.05로 업그레이드 된 듯.

xlisp의 문서(함수목록)


[링크 : http://www.almy.us/xlisp.html]
[링크 : http://en.wikipedia.org/wiki/XLISP]

'Programming > lisp' 카테고리의 다른 글

clisp  (0) 2012.12.29
lisp 기본함수  (0) 2012.12.29
lisp vector  (0) 2012.12.14
lisp atom  (0) 2012.12.11
lisp tutorial  (0) 2012.12.06
Posted by 구차니