Go to advanced search

by li16
Sun Nov 11, 2018 5:07 pm
Forum: Python
Topic: Defining GPIO to LCD mapping
Replies: 11
Views: 440

Re: Defining GPIO to LCD mapping

Inside the try statement, then when we get to err==1 is it comparing 0 and 1 to give false? If so does it take us to the except block to execute the exception?
by li16
Sun Nov 11, 2018 4:17 pm
Forum: Python
Topic: Defining GPIO to LCD mapping
Replies: 11
Views: 440

Re: Defining GPIO to LCD mapping

So the pins in the code and in the circuit are supposed to match? Its not correct to have them not matching?
by li16
Sun Nov 11, 2018 2:18 pm
Forum: Python
Topic: Defining GPIO to LCD mapping
Replies: 11
Views: 440

Re: Defining GPIO to LCD mapping

Alright, I'm going to try to be more thorough with my explanation. So the raspberry Pi is receiving the data from the bluetooth module. Depending on the data it receives, a certain message is being spoken from speaker. The code and circuit above are from the same place and everything is working but ...
by li16
Sun Nov 11, 2018 10:25 am
Forum: Python
Topic: Defining GPIO to LCD mapping
Replies: 11
Views: 440

Re: Defining GPIO to LCD mapping

There are 2 resistor arrays, would that effect?
by li16
Sat Nov 10, 2018 7:27 pm
Forum: Python
Topic: Defining GPIO to LCD mapping
Replies: 11
Views: 440

Defining GPIO to LCD mapping

So ive this lcd interfacing with the raspberry pi GPIO pins in the circuit and in the code when defining GPIO to LCD mapping: lcd_rs = 21 lcd_en = 20 lcd_d4 = 16 lcd_d5 = 12 lcd_d6 = 5 lcd_d7 = 25 I was wondering why the pins written in the code for d4, d5, and d6 dont match the circuit? And rs,en, ...
by li16
Sat Nov 10, 2018 11:10 am
Forum: Python
Topic: finding bluetooth device through code
Replies: 1
Views: 140

finding bluetooth device through code

I am interfacing Bluetooth Module HC-05 with raspberry pi. I have this part of code and there are some things im unsure of because i cannot see the output. Ive my questions as comments in the code. Would greatly appreciate your help! t1 = datetime.now() while GPIO.input(reset) == False: t2 = datetim...

Go to advanced search