Tuesday, December 31, 2013

How to show custom splash screen logo on boost


When you start your Raspberry Pi you want to show splash same above picture. 


1. Install FBI.


sudo apt-get install fbi                                                                                            


How to hide Raspberry Pi LOGO on boost



      Logo Raspberry Pi on the top left of screen can remove not show on boost. When you don't want to show in your project advertiser or other. Easy for edit config and work.


How to hide text on boot


          When boosting Raspberry Pi. Screen will show many text. If you want to remove this text, you must be edit some config in your Raspberry Pi. After boost again the screen will not show text.

Monday, December 30, 2013

Fix Error : "Host 'xx.xx.xx.xx' is not allow to connect to this MySQL server"


             When you install MySQL Database on PC. You can connect to MySQL Database by root in hostname localhost or 127.0.0.1 only. You cannot connect by other device by IP Address. If will show error  "Host 'xx.xx.xx.xx' is not allow to connect to this MySQL server" . So you will config your MySQL to allow other device to connect it follow instruction below.

How to use database MySQL with Raspberry Pi


     Raspberry Pi can interface database MySQL with C++ Programming. You can read or write data to MySQL Server. So in your Raspberry Pi will must prepare MySQL Library for programming before.

SETUP MySQL C Access


sudo apt-get update                                           

sudo apt-get upgrade                                          
sudo apt-get install libmysqlclient-dev                       


Sunday, December 29, 2013

How to use GPIO on Raspberry by GCC C++ Compiler



          When you need to use GPIO for input or output and other interface. You can use library of chip bcm2835. Download library and setup below.

Use GCC C++ Compiler "Hello World!" on Raspberry Pi

   
     Raspberry Pi have GCC C++ Compiler internal. You can develop program with C++ language by your self. This a simply program for use in same other language is "Hello World!". It print text message to the terminal console. You can do step below.

1. Check version of gcc c++ Compiler in your Raspberry Pi.


gcc -v                                                           



How to remote a Raspberry Pi with Remote Desktop Connection on Windows 7

         
     The Raspberry Pi can remote from other PC with Remote Desktop Connection. By this software is installed in your Windows 7. First you prepare your Raspberry Pi connect network same your PC then open LXTerminal on Raspberry Pi desktop or SSH by putty and type below.

Fix Boost Error message : "INIT: ID "1" respawning too fast: disabled for 5 minutes"

INIT: ID "1" respawning too fast: disabled for 5 minutes         

            This is probably due to the issue of the "/etc/ld.so.preload" file in new raspbian images. If you search on this error messages you'll find instructions on how to edit this file within the .img file.  There's another way though, just setup your SD card as you normally would for the raspberry pi and run it in a raspberry pi.  

Thursday, December 26, 2013

Installing QEMU For Windows


                QEMU is an emulator for various CPUs. It works on Linux, Windows, FreeBSD and Mac OS X. The Windows version is in an alpha stage.