I've never seen a so crowded classroom! The ethernet cables are insanely crawling throughout the table. I barely squeeze into the crowd and share the tiny space with Greg. Crazy but fun!

Tom老吩咐到時候班上會分兩組, 屆時就了無新意但也最快速地 "左半邊 versus 右半邊", 玩法是一個緊接一個的pk制, 某人輸了之後, 他那組的下一位選手就立刻連上server為隊友報仇!
基本上大家都用一樣的code, 小改當中幾行analog in/digital in(聽了去年修課的Josh兄建議, 決定採取比較不會出槌的digital switch), 然後花了好大部分時間處理莫名其妙的蠢網路問題
serial monitor都看的到Arduino的訊息, 但Terminal就是看不到, 後來發現似乎是犯了極為愚蠢的失誤(RX,TX接錯地方,碼的賀!) ... 總之也終於算成功, 沒有喇賽!
physical interface沒有花太多時間包裝, 只是用了簡單的(地上撿到的垃圾)小木塊, 挖洞, switch擠進去, wires拉出來, hook up到breadboard上, 大功告成! 操控方法如下:
(1) 狠焦慮地拿木塊不斷敲桌面, 敲左面-->paddle往左跑, 敲右面-->paddle往右跑
(2): 把小木塊輕巧地拿起置於鼻樑, 下巴中間, 利用左右兩手食指靈巧地壓左右兩面switch, 如同發呆雙手脫住下巴的無聊小gesture舉動, 然後, 輕鬆獲勝(一切都是幻想)!
Basically we are using the same code from Tom. The only thing we have to deal with is a small change of analog/digital input. I chose the digital instead of analog input due to some suggestion form Josh who took this class in the last semester. From his saying, digital input could get more stable and continuous move of your pong paddle than analog (Actually it depends on how you write your code). Though getting a big help from Josh, I still struggled with the never-expectable hardware part. At the beginning, the signal only appeared on the serial monitor but terimanl. It took me a while to figure out that I shouldn't have hooked up the Xport's RX and TX to FT232R's TX and RX. Instead, they should go to arduino's TX and RX since FT232R in my circuit only did a job of providing 3.3V power and did nothing about transferrinf/receiving data. What a silly mistake!
Here is the circuit i got:

The physical interface: a small block with 2 switches locate seperately inlayed into its right and left surfaces.

Playing with the block:

This video shows all steps of logging in/out the pong game server. Instead of really receiving/transferring data from/to the server, I fake it by typing comments in Terminal for a rehearsal test. 'C' means that the server sends a connection signal through Xport to arduino (in real playing, the connection is automatically made once i plug the Ethernet cable into Xport), and then I press a connect button on my breadboard to start the game. Several lines of 'C128.122.151.128/8080' instantly jumps up. Next step is to simulate the control of pong paddle. Pressing right button (R side of the block facing down) appears 'r' on Terminal screen while left button shows 'l'. Once I press the connection button again, I lose the connection and 'x' jumps out, which means sending a signal to ask the server to quit. DONE!
See more pictures of presentation at Guy's flickr and Mike's flickr.

41 comments:
嗨!很喜歡來這欣賞你的作品,幫你推推推當上人氣王唷.........................
快樂是你與生俱來的權力,它不應該取決於你完成什麼。 ..................................................
Many a little makes a mickle...................................................
性愛罐頭連結本土性愛自拍圖台灣本土性愛性愛a成人性愛站歐美性愛網歐美性愛寫真歐美情色區歐美情色影片放映區歐美模特兒貼圖歐美模特兒圖歐美線上色情片歐美線上電影歐美線上論壇歐美整外潮吹影片免費看線上下載無碼遙瑤熊貓列表熊貓貼圖站熊貓貼圖區區熊貓貼?熊貓圖片網熊貓圖貼區熊貓影片瘋情網路色情電影網路色情電影觀賞網路看片網路做愛小說小弟弟影片交流區 小弟弟影片區 嘟嘟貼圖區美女寫真
文章優,圖片美,就連回文都很有意思~~~ ........................................
Cool blog網愛聊天室色情網站交友找啦咧免費影片成人笑話成人圖庫sexy女同志聊天室愛戀情人用品情趣爽翻天咆哮小老鼠入口85cc6k脫衣人妻sexy85c脫光光taiwansex淫女情色成人男女做愛美女做愛脫衣秀a片正妹淫蕩色情後宮040185c85c77p2p77p2p性幻想手淫18禁
笑口常開~~天天開心........................................
great msg for me, thanks a lot dude˙﹏˙
您的部落格文章真棒!!有空我一定會常來逛!! .........................................
朝著既定的目標走,就不會迷失。 ..................................................
Hello~Nice to meet you~..................................................
處順境須謹慎,處逆境要忍耐。.............................................
5278av影片 洪爺自拍密錄館影音視訊聊天室 a片下載 彩虹視訊交友網 後宮電影線上a片免費看 xvediox 歐美av無碼影片下載 男人幫論壇 av 短片免費看 紅櫻桃愛情小說 援交友留言桃園無碼a片 網愛交友網elove kk777視訊俱樂部 影音視訊聊天室 完美女人視訊聊天室 383成人34c檳榔西施自拍照片 wii無雙遊戲網,電玩快打小遊戲 sex520免費電影 show-live視訊85cc 視訊聊天 18成人貼圖區 新竹援交自拍 qq 美女貼圖片區 ol 線上免費影片 辣妹有約台北援交 視訊交友高雄網 視訊聊天花漾 mmbox視訊網 無碼dvd,夜未眠成人影城 聊天室ilover99 jpkiss 線上成人影片 aio 網路交友愛情館 台灣18成人網 豆豆出租情人視訊 黑澀會美眉的即時通 xx369色女人專用 aaio辣妹視訊 交友聊天室meet520 微風成人vi467 視訊情人辣妹080 18免費成人影城 080視訊聊天室swam 禁忌書屋成人小說網 人妻的秘密結局 百分百成人圖片區 台南視訊 人妻AV影片 av影片,比基尼美女的奶 電話網愛視訊交友 18禁遊戲
嘿,你的部落格不錯耶~~只是想跟您問聲好!!..............................
Use a book as a bee does flowers.......................................................
your son/daughter is so cute............................................................
所有的資產,在不被諒解時,都成了負債..................................................
工作,是愛的具體化~~~~努力吧!......................................................................
這樣的情感,真是值得人羨慕.................................................................
在莫非定律中有項笨蛋定律:「一個組織中的笨蛋,恆大於等於三分之二。」.................................................................
河水永遠是相同的,可是每一剎那又都是新的。......................................................................
人生是故事的創造與遺忘。............................................................
人生是故事的創造與遺忘。............................................................
人生是故事的創造與遺忘。............................................................
偶爾上來逛逛,下次不知是否還有緣再進來,先祝您平安順利!!!............................................................
在你一無所有的時候 是誰在陪伴你 他便是你最重要的人............................................................
Beauty, unaccompanied by virtue, is as a flower without perfume...................................................................
下次再來希望可以看到新的作品喔。............................................................
成功可招引朋友,挫敗可考驗朋友............................................................
教育的目的,不在應該思考什麼,而是教吾人怎樣思考............................................................
第一次睇你blog,鐘意!..................................................................
沈舟側畔千帆過,病樹前頭萬木春............................................................
一個人的價值,應該看他貢獻了什麼,而不是他取得了什麼....................................................
Learning makes a good man better and ill man worse.............................................................
堅持是為著某種目的或目標,而持續不斷朝向既定方向努力的一種意念。..................................................
知識可以傳授,智慧卻不行。每個人必須成為他自己。. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Pay somebody back in his own coin.............................................................
Necessity is the mother of invention.......................................................................
i trust everything will be fine. bless you!..................................................................
來給你加油,幫你推一下喔~期待你的下一個更新,謝謝............................................................
成熟,就是有能力適應生活中的模糊。............................................................
Post a Comment