Go to advanced search

by picandies
Thu Feb 27, 2020 10:24 pm
Forum: Python
Topic: event detection response
Replies: 7
Views: 372

Re: event detection response

I am also doing some gui graphics for motor control & wondering when the interrupt is serviced? Do the interrupts have to wait for a code block to complete (such as a python def block)? Or perhaps the event reaction is actually being polled & the polling only occurs infrequently? What is add_event_d...
by picandies
Thu Feb 27, 2020 7:21 am
Forum: Python
Topic: How can I reload the content of a tkinter window?
Replies: 2
Views: 173

Re: How can I reload the content of a tkinter window?

Go here:

http://page.sourceforge.net/#Documentation

You will be able to draw tkinter pages for your display...install this on your rpi...you may also need to install tcl (I can't remember if it is already included on the rpi) on your rpi to use this page tool, that is easy to do.
by picandies
Wed Feb 26, 2020 11:55 pm
Forum: Python
Topic: event detection response
Replies: 7
Views: 372

Re: event detection response

The answers sort of ignore the question...the question is When (what conditions) does the event handler take over? If you are in the middle of some calculation, does the calculation get interrupted & then resume afterwards? What if the calculation was a loop that took 2 minutes---would it require 2 ...
by picandies
Wed Feb 26, 2020 9:12 pm
Forum: Python
Topic: event detection response
Replies: 7
Views: 372

event detection response

Using pi3B, buster with GPIO. I set up an event response: GPIO.add_event_detect(13, GPIO.RISING, callback=mysensor) It works...when GPIO goes high, mysensor is run. However using a scope, it appears that from the time gpio goes high, to the time mysensor executes is a very long time (500-600 micros...
by picandies
Wed Feb 19, 2020 3:46 pm
Forum: General discussion
Topic: ISL12022 RTC module fails with latest Buster upgrade
Replies: 1
Views: 140

Re: ISL12022 RTC module fails with latest Buster upgrade

Ah, added this to /boot/config.txt & now it works. Apparently needed both

dtoverlay=i2c-rtc,isl12022
by picandies
Wed Feb 19, 2020 4:22 am
Forum: General discussion
Topic: ISL12022 RTC module fails with latest Buster upgrade
Replies: 1
Views: 140

ISL12022 RTC module fails with latest Buster upgrade

I've been using an ISL12022 RTC on a rpi3 for a few years---been working fine. This was enabled by modifying rc.local to include: echo isl12022 0x6f > /sys/class/i2c-adapter/i2c-1/new_device sudo hwclock -s date Now update to Buster & NOT working fine, even though the above setting was copied exactl...
by picandies
Tue Feb 11, 2020 12:40 am
Forum: General discussion
Topic: Tkinter widget
Replies: 0
Views: 71

Tkinter widget

Hi I'm doing a new tkinter app on rpi4 for controlling the mixer process. Where is a good source for basic panel meter widgets (like simple voltmeter/panel meter)? Might be interested in a basic bargraph style as well? Nothing too fancy (even this is a bit extreme) https://encrypted-tbn0.gstatic.com...
by picandies
Sun Feb 09, 2020 1:18 am
Forum: General discussion
Topic: need to upgrade python
Replies: 11
Views: 906

Re: need to upgrade python

You're only getting pyc files? Hmm.


You are not paying attention...I said we are only sending the pyc files, not the source.
by picandies
Sat Feb 08, 2020 9:51 pm
Forum: General discussion
Topic: need to upgrade python
Replies: 11
Views: 906

Re: need to upgrade python

The pyc files sent out need to work with python 3.7.x ..The source code files are not to be sent. I will try the link...is building it something bad (you will have to build it)? Unless I'm overlooking something, It's just entering 7 or 8 commands into the rpi, rather than one command, to do the upgr...
by picandies
Sat Feb 08, 2020 4:59 pm
Forum: General discussion
Topic: need to upgrade python
Replies: 11
Views: 906

need to upgrade python

Running rpi3 with Stretch It has python 2.7.x installed & python 3.5.3 I don't want to upgrade to buster right now How do I install python 3.7.3? I need it for compat with another system. What is the correct command?? I still need to keep 2.7.x & 3.5.3 installed. I tried sudo apt-get install python3...
by picandies
Wed Jan 22, 2020 7:50 pm
Forum: General discussion
Topic: rebuilding meld
Replies: 8
Views: 460

Re: rebuilding meld

botspot:
It worked perfectly, just using the command block you initially specified...no extras were needed.
I am now running meld 3.20.1 on the rpi3 and also rpi4
by picandies
Mon Jan 20, 2020 7:25 pm
Forum: General discussion
Topic: app position is stuck
Replies: 1
Views: 131

Re: app position is stuck

FYI---I finally found something that works

To drag a window who's titlebar is hidden, use ALT + left click & DRAG, on the window to be moved...you can then drag it around.
If the titlebar is visible you can just left click on that & drag (no alt needed)
by picandies
Mon Jan 20, 2020 7:12 pm
Forum: General discussion
Topic: app position is stuck
Replies: 1
Views: 131

app position is stuck

Using standard desktop, rpi4. When I open one particular app, it opens in a position, where it is almost slid off of the desktop. I can't grab the top of it to move it anywhere. It covers over the berry & the left side task bar. I can grab the bottom or right and resize it, but I need to move it, so...
by picandies
Mon Jan 20, 2020 6:29 am
Forum: General discussion
Topic: rebuilding meld
Replies: 8
Views: 460

Re: rebuilding meld

Thanks botspot ---your imaginative command sequence did the trick
by picandies
Sat Jan 18, 2020 9:31 pm
Forum: General discussion
Topic: rebuilding meld
Replies: 8
Views: 460

Re: rebuilding meld

the README in the source gives all necessary information: requirements, build requirements, build commands, etc. Yes I tried all that a few times, but just ended up with different errors...so not sure if I'm doing something wrong (not using proper or the exact commands), the instructions are wrong,...
by picandies
Sat Jan 18, 2020 8:13 pm
Forum: General discussion
Topic: rebuilding meld
Replies: 8
Views: 460

rebuilding meld

What are the latest commands needed to rebuild & install the latest version of meld onto the rpi4/buster? Seems it is now up to version 20, but they don't give the steps needed.

https://meldmerge.org
by picandies
Tue Jan 14, 2020 7:32 pm
Forum: Graphics programming
Topic: Looking for tkinter widgets
Replies: 0
Views: 502

Looking for tkinter widgets

Where is a good library of or source for importing tkinter widgets?
Such examples as : panel meters, gauges, thermometer, knobs, etc.
Since tkinter is heavily used everywhere, is there a good shared repository?
by picandies
Thu Jan 09, 2020 3:15 am
Forum: General discussion
Topic: Why is datasheet missing?
Replies: 13
Views: 604

Re: Why is datasheet missing?

Why are things not set up properly? It's hard to believe nobody at raspberry pi would notice that it misdirecting to the wrong document. Isn't the website being maintained?
by picandies
Thu Jan 09, 2020 12:02 am
Forum: General discussion
Topic: Why is datasheet missing?
Replies: 13
Views: 604

Re: Why is datasheet missing?

I agree the link from your second link is out of date WHY out of date??? This is a main page for the module. If you tell someone don't use this anymore, switch to that , shouldn't the link to the associated hardware guide at least contain the info you are espousing? I read the 3+ has been out for m...
by picandies
Wed Jan 08, 2020 11:08 pm
Forum: General discussion
Topic: Why is datasheet missing?
Replies: 13
Views: 604

Re: Why is datasheet missing?

Then it should say so...not say forget about the 3, use the 3+ instead, and by the way , here is the old 3 datasheet!
by picandies
Wed Jan 08, 2020 10:57 pm
Forum: General discussion
Topic: Why is datasheet missing?
Replies: 13
Views: 604

Why is datasheet missing?

https://www.raspberrypi.org/documentation/hardware/computemodule/datasheet.md says: We no longer recommend using the CM or CM3 in new products, please use the CM3+ for all future designs. Going to compute module hardware design guide : https://www.raspberrypi.org/documentation/hardware/computemodule...
by picandies
Tue Jan 07, 2020 12:09 am
Forum: Python
Topic: installing latest meld
Replies: 4
Views: 408

Re: installing latest meld

So you couldn't get it to install? I was wondering if I was doing it wrong..sounds like the program isn't ready to use, or their new install is buggy.
by picandies
Sat Jan 04, 2020 11:29 pm
Forum: Python
Topic: installing latest meld
Replies: 4
Views: 408

Re: installing latest meld

obtain the source code and compile yourself.
I have the "tar" file.. .what are the step/commands you are referring to to perform the compile/install?
by picandies
Sat Jan 04, 2020 8:39 pm
Forum: Python
Topic: installing latest meld
Replies: 4
Views: 408

installing latest meld

How do you get the latest version of meld installed on the rpi (what are the proper commands/steps)?
https://meldmerge.org


using apt-get install meld installs a rather old version (3.16) instead of the current 3.20

pip3 seems to fail with a screen load of errors.
by picandies
Fri Dec 06, 2019 6:16 am
Forum: General discussion
Topic: Command to check GPIO'S?
Replies: 13
Views: 691

Re: Command to check GPIO'S?

Hey guys , thanks for the tip.
By the way, I found a command you may not have heard of (there seem to be many undocumented or hard to find):
gpio readall


The will also show a very informative listing of all the I/Os!

Go to advanced search