Go to advanced search

by DirkS
Fri Jun 22, 2018 5:02 pm
Forum: Python
Topic: Help why unexpected indent ?
Replies: 2
Views: 92

Re: Help why unexpected indent ?

Looks to me you're mixing tabs and spaces. That will cause problems in Python...
This is how it looks like in my editor
rpi-indent.png
rpi-indent.png (25.2 KiB) Viewed 79 times
The 'now' line has a single tab and the 'if' line has 8 spaces.
by DirkS
Fri Jun 22, 2018 2:04 pm
Forum: General discussion
Topic: Multiple Frame buffer beta testers wanted
Replies: 22
Views: 751

Re: Multiple Frame buffer beta testers wanted

Question: are the frame buffers always assigned in the same order, e.g. HDMI before DSI?
So far my HDMI screen is always assigned fb0 and the RPF LCD fb1
by DirkS
Fri Jun 22, 2018 9:49 am
Forum: General discussion
Topic: Multiple Frame buffer beta testers wanted
Replies: 22
Views: 751

Re: Multiple Frame buffer beta testers wanted

Got it working now.
Had to add

Code: Select all

start_x=1
to config.txt :-)
by DirkS
Fri Jun 22, 2018 9:24 am
Forum: General discussion
Topic: Multiple Frame buffer beta testers wanted
Replies: 22
Views: 751

Re: Multiple Frame buffer beta testers wanted

Ping. Has anyone actually tried this stuff out? Working on it ATM. Having a problem, though. Basic config: Pi3B, RPF LCD, External screen on HDMI-VGA converter. External screen seems to be recognised fine, but I only see 1 framebuffer in /dev and output goes to the touchscreen. vcdbg log: 001026.34...
by DirkS
Fri Jun 22, 2018 8:50 am
Forum: General discussion
Topic: Documentation for beginners
Replies: 27
Views: 683

Re: Documentation for beginners

Why not? Even if it was locked and just had that references post in it, it would provide a pointer to the information. You want the information to be seen, so provide every possible means for someone to find it. What about the Help button at the top of the forum page.? And the 'Quick start guide' l...
by DirkS
Fri Jun 22, 2018 7:12 am
Forum: Camera board
Topic: Camera Board Error
Replies: 10
Views: 6293

Re: Camera Board Error

Hi, I have the same problem.... It worked like 20 seconds ago and when I executed the program again it gave me the camera board error. I have used a different power supply for these past 2 days and the camera was working perfect until now. What might be the problem? Exactly which error? Post full e...
by DirkS
Thu Jun 21, 2018 9:19 pm
Forum: Troubleshooting
Topic: HDMI - LED Screen backlight is turning on, but nothing is displayed
Replies: 3
Views: 82

Re: HDMI - LED Screen backlight is turning on, but nothing is displayed

dchipilot wrote:
Thu Jun 21, 2018 9:06 pm
Is there a way to run both the touchscreen AND a monitor on HDMI?
Yes, but it's experimental
See viewtopic.php?p=1330766#p1330766
by DirkS
Thu Jun 21, 2018 3:39 pm
Forum: Troubleshooting
Topic: OTP bit confirmation "anomaly"?
Replies: 8
Views: 163

Re: OTP bit confirmation "anomaly"?

That would imply old firmware on the VC4, but you said you were up to date,so not exactly sure what might be going on. You could try an rpi-update, if you happy with the bleeding edge. Or just copy the /boot/start*.elf files from the machine that works. At your own risk though. See my post above: i...
by DirkS
Thu Jun 21, 2018 2:45 pm
Forum: Troubleshooting
Topic: OTP bit confirmation "anomaly"?
Replies: 8
Views: 163

Re: OTP bit confirmation "anomaly"?

That would imply old firmware on the VC4, but you said you were up to date,so not exactly sure what might be going on. You could try an rpi-update, if you happy with the bleeding edge. Or just copy the /boot/start*.elf files from the machine that works. At your own risk though. See my post above: i...
by DirkS
Thu Jun 21, 2018 2:34 pm
Forum: Troubleshooting
Topic: OTP bit confirmation "anomaly"?
Replies: 8
Views: 163

Re: OTP bit confirmation "anomaly"?

LTolledo wrote:
Thu Jun 21, 2018 2:17 pm
$ vcgencmd opt_dump
error=1 error_msg="Command not registered"
Typo in the command (opt instead of otp). You don't see the error message because it's filtered by grep.
by DirkS
Thu Jun 21, 2018 9:28 am
Forum: Beginners
Topic: How to create a Desktop shortcut for a Python program
Replies: 2
Views: 64

Re: How to create a Desktop shortcut for a Python program

Using the topic title in a Google search of this forum I found these in the first 5:
viewtopic.php?t=190130
viewtopic.php?t=9817
viewtopic.php?t=163312
by DirkS
Thu Jun 21, 2018 9:12 am
Forum: General discussion
Topic: Cancel add_event_detect when a pin has already detected it
Replies: 2
Views: 71

Re: Cancel add_event_detect when a pin has already detected it

drumsergio wrote:
Thu Jun 21, 2018 8:49 am
I do not know if it can be doable. Maybe not.
Somewhere (sorry, can't remember where) I saw a bit of code where event detection was switched off on entering the event function (your 'click') and switched on again when processing had finished
by DirkS
Thu Jun 21, 2018 9:04 am
Forum: Beginners
Topic: i2c addresses clash
Replies: 4
Views: 118

Re: i2c addresses clash

I managed somehow to activate i2c-0 channel What's wrong with using the standard i2c-1 channel? Looking forward to any suggestions on how to run two i2c devices with the same address! Thanks in advance! You could use a multiplexer like this one: https://learn.adafruit.com/adafruit-tca9548a-1-to-8-i...
by DirkS
Thu Jun 21, 2018 8:22 am
Forum: Beginners
Topic: network problem
Replies: 2
Views: 44

Re: network problem

In addition to the above: please post the full error message
by DirkS
Thu Jun 21, 2018 4:26 am
Forum: Automation, sensing and robotics
Topic: Cheap USB temperature sensors
Replies: 5
Views: 184

Re: Cheap USB temperature sensors

Can't see the image (error 404 - not found)
by DirkS
Wed Jun 20, 2018 3:54 pm
Forum: Beginners
Topic: Two 44780 LVD displays on one Raspi
Replies: 4
Views: 92

Re: Two 44780 LVD displays on one Raspi

As i said ;) , i use an LCD 20x4 screen with an 44780 controller and an I2C interface piggy backed on the lcd. As you correctly said, the I2C makes it addressable. However i dont know how to do that with the drivers i use; which parts if the classes to change or add to control two addresses. The I2...
by DirkS
Wed Jun 20, 2018 1:05 pm
Forum: General discussion
Topic: use pi zero w in commercial production
Replies: 57
Views: 9721

Re: use pi zero w in commercial production

Some Chinese manufacturers copy legit designs right from the source. They make a genuine product then sell the source code to another factory, or manufacture the exact same item for a competitor. Crazy. I thought all Zeros are manufactured by Sony in Wales... I find it hard to believe that someone ...
by DirkS
Wed Jun 20, 2018 12:31 pm
Forum: General discussion
Topic: No such file or directory: '/dev/epd/version'
Replies: 2
Views: 101

Re: No such file or directory: '/dev/epd/version'

I assume the error means that the device driver for the screen is not yet loaded To see if the problem was a timing problem, I put a sleep(5) just after the main(), without results. What does this mean? To me it sounds as if the error could occur before the sleep is reached. Can you post your code (...
by DirkS
Wed Jun 20, 2018 8:38 am
Forum: Beginners
Topic: Two 44780 LVD displays on one Raspi
Replies: 4
Views: 92

Re: Two 44780 LVD displays on one Raspi

Where/how in the coding can i change the address of the 44780. Perhaps make different instances of the classes used? The address is determined by the hardware. A bare HD44780 does not use I2C, but a lot of boards add extra logic so that you can address them using I2C. See e.g. https://www.aliexpres...
by DirkS
Tue Jun 19, 2018 3:42 pm
Forum: General discussion
Topic: Graphics Programming
Replies: 6
Views: 2179

Re: Graphics Programming

assasinsareus wrote:
Tue Jun 19, 2018 2:08 pm
I know this topic is now rather old but...
On this forum this is pretty much as old as it gets!
by DirkS
Mon Jun 18, 2018 8:46 am
Forum: Beginners
Topic: [Seek help] a problem about setting up wlan0 on pi 2b+
Replies: 1
Views: 68

Re: [Seek help] a problem about setting up wlan0 on pi 2b+

SWUSTER wrote:
Sun Jun 17, 2018 12:14 pm
show "SIOCSIFFLAGS: Input/output error",when run "sudo ifconfig wlan0 up".
what can I do?
More info needed. Exact model Pi (2b+ does not exist!)
What brand / model WiFi module?
Which OS (+ version)?
Contents of /etc/wpa_supplicant/wpa_supplicant.conf and /etc/network/interfaces .
by DirkS
Mon Jun 18, 2018 8:41 am
Forum: Troubleshooting
Topic: Error check the log for more information
Replies: 1
Views: 36

Re: Error check the log for more information

Best to post this on the Kodi forum: https://forum.kodi.tv/

If you installed a distro like LibreElec or OSMC then you could also try their forums
https://forum.libreelec.tv/
https://discourse.osmc.tv/

You will have to give them some more info, like exactly what you are trying to play, etc
by DirkS
Mon Jun 18, 2018 8:31 am
Forum: Beginners
Topic: New to Raspberry pi, what do I need to know to start a project?
Replies: 9
Views: 337

Re: New to Raspberry pi.

Do you need to know how to write codes & scripts & programs before starting a project? :roll: Depends on the project. With some projects it could be an advantage that you have some coding experience. But in a lot of cases there's not a lot of coding to be done or others have already done the hard w...
by DirkS
Mon Jun 18, 2018 8:24 am
Forum: Android
Topic: Android Docker container on Pi3
Replies: 1
Views: 117

Re: Android Docker container on Pi3

No. And if you want to know more about Android on PI you should have a look at https://groups.google.com/forum/?fromgr ... ndroid-rpi

Go to advanced search