Go to advanced search

by Newby Tyro
Thu May 14, 2020 8:08 pm
Forum: Beginners
Topic: I2C compatibility issue
Replies: 6
Views: 186

Re: I2C compatibility issue

Thanks again for setting me right!!
by Newby Tyro
Thu May 14, 2020 10:47 am
Forum: Beginners
Topic: I2C compatibility issue
Replies: 6
Views: 186

Re: I2C compatibility issue

Thanks very much for your comments - I will try it out....
by Newby Tyro
Thu May 14, 2020 9:06 am
Forum: Beginners
Topic: I2C compatibility issue
Replies: 6
Views: 186

Re: I2C compatibility issue

Thanks very much for this. If Linux handles a DS1307 with a different bus, which GPIO pins does it use for SDA and SCL? I have used pins 2 and 3 for my DS1307, which I need to read every 2 seconds to provide a time stamp for measurements made with my Python script, not to show time on the screen. Ca...
by Newby Tyro
Wed May 13, 2020 5:05 pm
Forum: Beginners
Topic: I2C compatibility issue
Replies: 6
Views: 186

I2C compatibility issue

Can any kind soul please help with this: I am using a Pi 2B. It will eventually be offline, and I need to use a real time clock with it: I have successfully connected and programmed the SDA and SCL GPIO pins to run a DS1307 RTC, setting and reading the clock. All this has been done using a HDMI moni...
by Newby Tyro
Wed Apr 15, 2020 6:49 pm
Forum: Python
Topic: Really simple problem
Replies: 5
Views: 305

Re: Really simple problem

Thanks very much!! I searched for headings such as bytes, conversion, serial, you name it, but for some reason I did not think of encode - ?

Both replies are, I believe, equivalent - so thanks to you both for this simple solution to my simple problem!!
by Newby Tyro
Wed Apr 15, 2020 4:29 pm
Forum: Python
Topic: Really simple problem
Replies: 5
Views: 305

Really simple problem

This is on Raspberry Pi model 2b, using python 3.7.3 and Raspbian - latest version as of a week ago I need to push some data through the pi serial port. I find that I have to call python as root user in order to be permitted to open the serial port. I import serial, open the port ttyAMA0 at 9600 bau...
by Newby Tyro
Tue Mar 17, 2020 3:45 pm
Forum: Python
Topic: Installing wxPython on python-3.7.3
Replies: 0
Views: 219

Installing wxPython on python-3.7.3

I have followed James Key's instructions (https://wiki.wxPython.org/BuildWxPythonOnRaspberryPi, updated version, wxPython-4.0.7.post2, with GTK3) as closely as I can: I wanted to use the default python-3.7.3. All went well until "python3 build.py build bdist_wheel", where about two hours in on my Pi...

Go to advanced search