Setting Up SPI on your Raspberry pi

Problem 
You have a Serial Peripheral Interface (SPI) bus that you want to use with your Raspberry Pi. 
  Solution 
By default, Raspbian is not configured for the Raspberry Pi’s Serial Peripheral Interface interface (SPI) to be enabled. To enable it,  Use the Raspberry Pi Configuration tool that you will find on the main menu under Preferences, or on older versions of Raspbian, use the raspiconfig using the command:
$ sudo raspi-config
Then select Advanced, followed by Serial Peripheral Interface, and then Yes before rebooting your Raspberry Pi. After the reboot, SPI will be available. Serial Peripheral Interface allows serial transfer of data between the Raspberry Pi and peripheral devices, such as analog-to-digital converter (ADC) and port expander chips, among other devices. 
 Reference book Raspberry Pi Cookbook
 
 All raspberry pi Problem And slove Hear  Problem And Slove 

No comments

Theme images by Dizzo. Powered by Blogger.