วิธีที่ให้ RPi เปิดใช้งาน I2C
Link: [Credit [http://www.instructables.com/id/Raspberry-Pi-I2C-Python/?ALLSTEPS]]
ส่วนลักษณะการต่อแบบนี้สามารถใช้งานได้กับ arduino ได้เลยนะครับ
LCD
Link: http://www.rpiblog.com/2012/07/interfacing-16x2-lcd-with-raspberry-pi.html
แสดงค่าตัวแปร
lcd.lcd_puts("IP " + str(get_ip_address('eth0')),1)
lcd.lcd_puts("IP %s" % get_ip_address('wlan0'),2)
Link: [Credit [http://www.instructables.com/id/Raspberry-Pi-I2C-Python/?ALLSTEPS]]
ส่วนลักษณะการต่อแบบนี้สามารถใช้งานได้กับ arduino ได้เลยนะครับ
LCD
Link: http://www.rpiblog.com/2012/07/interfacing-16x2-lcd-with-raspberry-pi.html
แสดงค่าตัวแปร
lcd.lcd_puts("IP " + str(get_ip_address('eth0')),1)
lcd.lcd_puts("IP %s" % get_ip_address('wlan0'),2)
Comments