2015年5月29日 星期五

Raspberry Pi B+ 使用網頁控制LED

編譯python檔在Pi上使用指令控制LED【w=亮;s=滅】

vim led_str_ctrl.py

按i並貼上底下程式碼:
====================================================================
#!/usr/bin/python
import RPi.GPIO as G # reference the GPIO library
G.setmode(G.BCM) # use the 'BCM' numbering scheme for the pins
G.setup(18, G.OUT) # Set pin 18 as an Output
while (True): # keep going around this loop until we're told to quit
key = raw_input("Enter 'w' for On, 's' for Off and any other key to quit. You'll need to press enter after each character: ")
if key == "w":
G.output(18, True) # Turn it on
elif key == "s":
G.output(18, False) # Turn it off
else:
break # leave our loop
G.cleanup() # Tidy up after ourselves so we don't generate warnings next time we run this

2015年5月24日 星期日

ASUS_AR-Z97_ACPI在裝置管理員出現驚嘆號_ACPI\PNP0A0A

ASUS ACPI在裝置管理員出現驚嘆號_ACPI\PNP0A0A

驅動少裝

爬文有發現,AMD00要先安裝否則系統會有驚嘆號

補裝還是有問題

將他右鍵解除裝置,隨後重新開機仍會有驚嘆號
此時滑鼠靈敏度出現一點異常(我的會這樣其他電腦可能不會)
重新安裝AMD00驅動一次
Win7資料夾內與外都用右鍵管理安裝,再重新開機一次就好了。
-
2015/05/24 紀錄本次處理流程,仍未知關鍵性操作。
就這樣做就好了,確定是少裝AMD00,不過有時候裝了還會出現
建議優先安裝AMD00,後來嘗試這樣做好像一次解決了