一直以來都很想擁有一隻工程筆,可是它實在是太貴了。BUT 最近在書局找到一隻20元以內的類●工程筆 Tempo MP-250,覺得還不錯。

2014-07-20 12.06.52 

   

筆身可以轉轉轉,紀錄現在用的筆心是哪種型號的

qmaw 發表在 痞客邦 留言(0) 人氣()

 

影片中的LCD螢幕和WII的左手搖桿都是利用I2C介面控制的,
這裡一樣是參考Cooper Maa大大的文章,
WII nunchuck:     http://coopermaa2nd.blogspot.tw/2012/08/wii-nunchuk-arduino.html

qmaw 發表在 痞客邦 留言(0) 人氣()

封面

2014-07-21 01.31.12  

組件,這期的組裝真的很複雜啊,大家要好好看雜誌內的說明喔。

2014-07-21 01.33.02  

qmaw 發表在 痞客邦 留言(0) 人氣()

我已經儘全力了,最右邊還是很大一格,不會自己換行,大家可以用複製的,就可以看到完整的語法了。

Index Field Ryu Rest API 語法
20 OXM_OF_ICMPV4_TYPE

curl -X POST -d '{"dpid":"0000000000000001", "priority":"32766","match":{"eth_type":2048,"ip_proto":1,"icmpv4_type":1}, "actions":[{"type":"OUTPUT","port":2}]}' http://127.0.0.1:8080/stats/flowentry/add

21 OXM_OF_ICMPV4_CODE

curl -X POST -d '{"dpid":"0000000000000001", "priority":"62766","match":{"eth_type":2048,"ip_proto":1,"icmpv4_code":1}, "actions":[{"type":"OUTPUT","port":30}]}' http://127.0.0.1:8080/stats/flowentry/add

22 OXM_OF_ARP_OP

curl -X POST -d '{"dpid":"0000000000000001", "priority":"22766","match":{"eth_type":0x0806,"arp_op":1}, "actions":[{"type":"OUTPUT","port":30}]}' http://127.0.0.1:8080/stats/flowentry/add

qmaw 發表在 痞客邦 留言(0) 人氣()

Index Field Ryu Rest API 語法
1 OXM_OF_IN_PORT ~# curl -X POST -d '{"dpid":"0000000000000001", "priority":"32766","match":{"in_port":2}, "actions":[{"type":"OUTPUT","port":1}]}' http://127.0.0.1:8080/stats/flowentry/add
2 OXM_OF_IN_PHY_PORT N/A
3 OXM_OF_METADATA

curl -X POST -d '{"dpid":"0000000000000001", "priority":"32766","match":{"metadata":"1234567890"}, "actions":[{"type":"OUTPUT","port":1}]}' http://127.0.0.1:8080/stats/flowentry/add

4 OXM_OF_ETH_DST

curl -X POST -d '{"dpid":"0000000000000001", "priority":"32766","match":{"eth_dst":"00:11:22:33:44:55"}, "actions":[{"type":"OUTPUT","port":1}]}' http://127.0.0.1:8080/stats/flowentry/add

5 OXM_OF_ETH_SRC

curl -X POST -d '{"dpid":"0000000000000001", "priority":"32766","match":{"eth_src":"00:11:22:33:44:55"}, "actions":[{"type":"OUTPUT","port":1}]}' http://127.0.0.1:8080/stats/flowentry/add

6 OXM_OF_ETH_TYPE

curl -X POST -d '{"dpid":"0000000000000001", "priority":"32766","match":{"eth_type":0x86dd}, "actions":[{"type":"OUTPUT","port":1}]}' http://127.0.0.1:8080/stats/flowentry/add

qmaw 發表在 痞客邦 留言(0) 人氣()

   

※因改造引起的Robi故障,本人及本站都不負賠償任,進行改造前需有小朋友出走的覺悟。

Robi用的伺服馬達,除了和其他伺服馬達一樣,可使用單向的PWM控制之外,
還可以使用雙向的TTL Packet控制,可以詢問馬達,目前的溫度,位移量等等,詳情請參考伺服馬達說明書

qmaw 發表在 痞客邦 留言(0) 人氣()

封面

2014-07-21 01.17.45  

組件,是的!!只有一枚伺服馬達

2014-07-21 01.18.35  

qmaw 發表在 痞客邦 留言(0) 人氣()

封面

2014-07-17 23.32.33  

組件

2014-07-17 23.32.24  

qmaw 發表在 痞客邦 留言(0) 人氣()

在OpenFlow的Spec.裡,常會提到一些縮寫字,但是並沒有一個名詞解釋的總表,所以我自己作了一點,提供給大家作參考

Name Type
OFPFC_* OpenFlow Protocol Flow Control
OFPPC_* OpenFlow Protocol Port (role) Control
OFPET_* OpenFlow Protocol Error Type
OFPBMC_* OpenFlow Protocol Bad Match Code
OFPBAC_* OpenFlow Protocol Bad Action Code
OFPFMC_* OpenFlow Protocol Flow Modification Code
OFPGC_* OpenFlow Protocol Group Command
OFPPS_* OpenFlow Protocol Port Status
OFPPC_* OpenFlow Protocol Port Config
OFPMC_* OpenFlow Protocol Meter Command
OFPGMFC_* OpenFlow Protocol Group Modification Failed Code
OFPMMFC_* OpenFlow Protocol Meter Modification Failed Code
OFPT_* OpenFlow Protocol Type
OFPP_* OpenFlow Protocol Port 
OFPPF_ OpenFlow Protocol Port Feature
OFPQT_* OpenFlow Protocol Queue Property(??)
OFPQ_* OpenFlow Protocol Queue (??)
OFPXMC_* OpenFlow Protocol Extensible  Match ClassID
OFPXMT_OFB_* OpenFlow Protocol Extensible  Match Type_ OpenFlow Basic
OFPIEH_* OpenFlow  Protocol IPv6 Extension Header
OFPIT_* OpenFlow Protocol Insturction Type
OFPAT_* OpenFlow Protocol Action Type
OFPCML_* OpenFlow Protocol Controller Maximum Length
OFPC_* OpenFlow Protocol Capacity
OFPTT_* OpenFlow Protocol Table Type
OFPFF_* OpenFlow Protocol Flow Flag
OFPMF_* OpenFlow Protocol Meter Flag
OFPMBT_* OpenFlow Protocol Meter Band Type
OFPBRC_* OpenFlow Protocol Bad Request Code
OFPMP_* OpenFlow Protocol MultiPart
OFPTFPT_* OpenFlow Protocol Table Feature Property Type
OFPR_* OpenFlow Protocol Reason
(ofp_packet_in_reason)
OFPPR_* OpenFlow Protocol Port Reason
(ofp_port_reason)
OFPRR_* OpenFlow Protocol Flow Remove Reason

qmaw 發表在 痞客邦 留言(0) 人氣()

 

※因改造引起的Robi故障,本人及本站都不負賠償任,進行改造前需有小朋友出走的覺悟。

Robi用的伺服馬達,除了和其他伺服馬達一樣,可使用單向的PWM控制之外,
還可以使用雙向的TTL Packet控制,可以詢問馬達,目前的溫度,位移量等等,詳情請參考伺服馬達說明書

qmaw 發表在 痞客邦 留言(0) 人氣()