======ディスプレイ制御==== =====標準ディスプレイ(HDMI接続)===== https://raspberrylife.wordpress.com/2013/02/02/hdmi%E5%87%BA%E5%8A%9B%E8%A8%AD%E5%AE%9A/ # uncomment if hdmi display is not detected and composite is being output #hdmi_force_hotplug=1 hdmi_force_hotplug=1 http://azmwork.tumblr.com/post/90563391369/raspbian-hdmi # vi /etc/kbd/config BLANK_TIME=0 POWERDOWN_TIME=0 (これは効果ない) =====RP01用===== # vi /boot/config.txt dtparam=spi=on dtoverlay=piscreen,speed=16000000,rotate=90 # vi /boot/cmdline.txt fbcon=map:10 fbcon=rotate:1 fbcon=font:ProFont6x11 # con2fbmap 1 1 =====TFT2.2インチ===== 対象とするLCDディスプレイ http://www.raspberrypiwiki.com/index.php/2.2_inch_TFT_Display_SKU:398437 ・Install the GPIO library and the driver # sudo apt-get install gcc python-pygame python-dev # sudo wget https://pypi.python.org/packages/source/R/RPi.GPIO/RPi.GPIO-0.5.11.tar.gz # sudo tar zxvf RPi.GPIO-0.5.11.tar.gz # cd RPi.GPIO-0.5.11 # sudo python setup.py install ・boot config # sudo vi /boot/config.txt dtparam=i2c_arm=on,spi=on dtoverlay=pitft28-resistive,rotate=270,speed=48000000,fps=30 (スペースなし、カンマのみ) ・deploy cmdline.txt file to show the console # sudo vi /boot/cmdline.txt # add this line before "rootwait" fbcon=map:10 fbcon=font:VGA8x8 # vi /etc/kbd/config BLANK_DPMS=off POWERDOWN_TIME=0 BLANK_TIME=0 http://qiita.com/kinneko/items/0694ad1b0e4066f2685e # vi /boot/cmdline.txt kernelのbootoptionに "consoleblank=0” # sudo dpkg-reconfigure console-setup UTF-8 -> Guess optimal charset… -> Terminus -> 6x12