Go to advanced search

by topguy
Tue Sep 17, 2019 2:35 pm
Forum: Python
Topic: Read serial port using pyserial problem
Replies: 23
Views: 634

Re: Read serial port using pyserial problem

What kind of hardware is producing the data ?
Does the program start reading again if you only stop and restart the program ?
So what is an typical number of the "counter" when it stops readling ?
by topguy
Tue Sep 17, 2019 1:56 pm
Forum: Beginners
Topic: running autoconf
Replies: 4
Views: 121

Re: running autoconf

The commands I posted was a snippet from a script called "autogen.sh"... guess what you have too ? :D
by topguy
Tue Sep 17, 2019 1:24 pm
Forum: Beginners
Topic: running autoconf
Replies: 4
Views: 121

Re: running autoconf

If might be helpful if you could give us a link to where we could see a list of the files included. ( a git repo for example ) Take a backup of the clean directory and then first see if someone included a "bootstrap.sh" file for you to run. From an old script for an automake project I worked on. acl...
by topguy
Tue Sep 17, 2019 10:36 am
Forum: Graphics programming
Topic: RayLib and Geany
Replies: 5
Views: 313

Re: RayLib and Geany

If you have done proper installation then:
/usr/local/include is the include path..
/usr/local/lib is the library path..

What I had in my previous answer is the end of the output from "sudo make install".
by topguy
Mon Sep 16, 2019 11:23 am
Forum: General discussion
Topic: Ras Pi and Kodi
Replies: 3
Views: 151

Re: Ras Pi and Kodi

The hard part is the remote access. - I dont know how updates work on OSMC, or if OSMC still is built on top of Raspbian. - So I'm suggesting that probably running Kodi on top of Raspbian Buster gives you the best options/flexibility. ( at the time of writing.. ) - Do you have complete control over ...
by topguy
Mon Sep 16, 2019 11:01 am
Forum: Graphics programming
Topic: RayLib and Geany
Replies: 5
Views: 313

Re: RayLib and Geany

I did a test build and install. ( not on a Pi ) Install the project... -- Install configuration: "Debug" -- Installing: /usr/local/lib/libraylib.a -- Installing: /usr/local/include/raylib.h -- Installing: /usr/local/lib/pkgconfig/raylib.pc -- Installing: /usr/local/lib/cmake/raylib/raylib-config-ver...
by topguy
Mon Sep 16, 2019 8:58 am
Forum: Graphics programming
Topic: RayLib and Geany
Replies: 5
Views: 313

Re: RayLib and Geany

Did you build and install the RayLib library successfully ?
by topguy
Sun Sep 15, 2019 12:09 pm
Forum: Troubleshooting
Topic: GPS pi4 incorrect date
Replies: 12
Views: 411

Re: GPS pi4 incorrect date

Thanks Dougie but I'm pretty sure this isn't a roll over thing given the date is not a different amount out each day (every day the gps thinks is 30-01-2000). In your first post ( 8/9 ) the date was 23/1/2000 and now a week later (15/9) its 30/1/2000.. do you not see the pattern ? As I said in the ...
by topguy
Fri Sep 13, 2019 2:15 pm
Forum: Beginners
Topic: Git pull in Raspbian on boot on multiple Raspberry PI-s
Replies: 2
Views: 243

Re: Git pull in Raspbian on boot on multiple Raspberry PI-s

Also, I would only like the PIs to pull the code, the users cannot be able to make changes and push the code back on Gitlab Since you will be handing out these Pi's there is nothing you can do to really prevent anyone from accessing any keys used against GitLab. But you should maybe create a user i...
by topguy
Fri Sep 13, 2019 11:49 am
Forum: C/C++
Topic: qtcreator (qt5, qtdesigner): how to access GPIOs (r/w pins, i2c devices, UART,...)? [solved]
Replies: 56
Views: 2166

Re: qtcreator (qt5, qtdesigner): how to access GPIOs (r/w pins, i2c devices, UART,...)?

in other words: To me it feels you are asking two very different questions. The second one is probably best handled by reading the documentaion: https://doc.qt.io/qtcreator/creator-project-qmake-libraries.html To answer you first question its is also best to start with learning the basic UI mechani...
by topguy
Fri Sep 13, 2019 11:45 am
Forum: General discussion
Topic: HDMI Display Brightness control through Raspberry pi GPIO
Replies: 1
Views: 82

Re: HDMI Display Brightness control through Raspberry pi GPIO

Do you want to connect buttons to the GPIO to use as "brightness up" "brightness down" ?

Or do you want to connect the GPIO pins to the display itself and control display brightness this way ?
( without any datasheet for the screen I don't know how we could try to answer this question )
by topguy
Fri Sep 13, 2019 11:36 am
Forum: General discussion
Topic: correct use of serial port
Replies: 8
Views: 497

Re: correct use of serial port

If you do a "ln -s /dev/serial0", my guess would be that it is just a link to "ttyAMA0", if that is the case then they are the same device and naming makes no difference.. Which version of Raspbian do you use ? Have you used raspi-config to change any of the serial-port related settings ? Also read ...
by topguy
Fri Sep 13, 2019 11:28 am
Forum: Raspbian
Topic: RESOLVED : Buster + Headless + Teamviewer + no FrameBuffer = FAILURE
Replies: 4
Views: 284

Re: Buster + Headless + Teamviewer + no FrameBuffer = FAILURE

The Pi4 ( and buster ) uses the GPU differently than earlier models so that is probably why there is no standard linux-framebuffer device present. - So either you need an option to also create fbX devices on a Pi4, but I'm not sure that is an option. - Or the Teamviewer people need to update their s...
by topguy
Fri Sep 13, 2019 8:49 am
Forum: Other projects
Topic: Raspberry pi rfid door lock
Replies: 11
Views: 621

Re: Raspberry pi rfid door lock

Using Jessie which is very old, could be difficult in general, a better solution is to learn how the solution is supposed to work and learn set it up manually.
by topguy
Thu Sep 12, 2019 12:19 pm
Forum: Beginners
Topic: Update browser with command
Replies: 3
Views: 133

Re: Update browser with command

You could also use "xdotool" to send a "F5" to the browser..
( assuming you mean to ask about refershing the page and not updating the version of Chromium. )
by topguy
Tue Sep 10, 2019 10:56 am
Forum: Gentoo
Topic: QT issues
Replies: 6
Views: 526

Re: QT issues

Qt4 is quite different from the standard Qt5 but it is still installable in Buster I think.

https://packages.debian.org/search?keyw ... ection=all


PS. Who is Sakaki ?
by topguy
Tue Sep 10, 2019 10:50 am
Forum: Automation, sensing and robotics
Topic: Multiple RFID Reader via RS485
Replies: 1
Views: 127

Re: Multiple RFID Reader via RS485

There is no way to use multiple devices meant for RS-232 on a multidrop RS-485 bus. The devices (and their protocol ) must be designed for RS-485, you need them to only answer/listen to data that has the correct "address".
by topguy
Tue Sep 10, 2019 9:37 am
Forum: Beginners
Topic: Not able to share files to a portable drive on my Raspberry Pi.
Replies: 12
Views: 368

Re: Not able to share files to a portable drive on my Raspberry Pi.

And by large files you mean 4GB+ size files ??
by topguy
Mon Sep 09, 2019 1:33 pm
Forum: Beginners
Topic: Error in make -j4
Replies: 2
Views: 263

Re: Error in make -j4

What model Pi are you running this on ? This is very often a "out of memory" problem.

Test with "make" or "make -j2" and see if it continue the build or not.
by topguy
Mon Sep 09, 2019 1:24 pm
Forum: Bare metal, Assembly language
Topic: Detecting RPi4 programatically
Replies: 8
Views: 534

Re: Detecting RPi4 programatically

Or just "grep xxx /proc/cpuinfo", where xxx is replaced by relevant value for Pi3 or Pi¤ maybe..
by topguy
Mon Sep 09, 2019 1:20 pm
Forum: General discussion
Topic: Pi4 wifi slow with HDMI
Replies: 1
Views: 153

Re: Pi4 wifi slow with HDMI

5Ghz or 2.4Ghz Wifi ?
Tried to change wifi channel ?
Are screen an Pi connected to the same wall-socket ?
by topguy
Mon Sep 09, 2019 1:04 pm
Forum: Beginners
Topic: Not able to share files to a portable drive on my Raspberry Pi.
Replies: 12
Views: 368

Re: Not able to share files to a portable drive on my Raspberry Pi.

Code: Select all

mount
;--)

and...

Code: Select all

ls -al /disks/DRIVENAME
by topguy
Mon Sep 09, 2019 12:35 pm
Forum: Beginners
Topic: Not able to share files to a portable drive on my Raspberry Pi.
Replies: 12
Views: 368

Re: Not able to share files to a portable drive on my Raspberry Pi.

See what "mount" reports, also look at the content of the directory ?
by topguy
Mon Sep 09, 2019 11:10 am
Forum: Troubleshooting
Topic: Pi3 finds other WiFi hubs but not mine
Replies: 5
Views: 237

Re: Pi3 finds other WiFi hubs but not mine

Loose thought...
- BT has reset or reconfigured your router, put it in only 5Ghz mode maybe... ( havent bothered to check if Pi3 supports 5Ghz or not )

Go to advanced search