soumyadeepnag
Posts: 9
Joined: Thu Aug 14, 2014 4:28 am

UART

Sat Dec 27, 2014 8:41 am

I need to use the UART pins (GPIO 14 and 15) to recieve a letter eg. "a" or "b" through the hc 05 bluetooth dongle. I am using my Sony Ericson phone with the bluetooth app https://play.google.com/store/apps/deta ... trol&hl=en installed. Please tell me the way i could code a python program so as to recieve a letter and display it on the screen.

User avatar
croston
Posts: 707
Joined: Sat Nov 26, 2011 12:33 pm
Location: Blackpool
Contact: Website

Re: UART

Sat Dec 27, 2014 8:43 am

You need to take a look at the 'serial' module:

Code: Select all

sudo apt-get install python-serial python3-serial

Return to “Python”