Go to advanced search

by markkuk
Wed Sep 18, 2019 4:49 am
Forum: General discussion
Topic: Installing Visual Studio Code
Replies: 10
Views: 268

Re: Installing Visual Studio Code

Heater wrote:
Wed Sep 18, 2019 4:36 am
Does anyone know who headmelted is?
GitHub believes he's this guy: https://github.com/headmelted
by markkuk
Wed Sep 18, 2019 4:19 am
Forum: General discussion
Topic: Installing Visual Studio Code
Replies: 10
Views: 268

Re: Installing Visual Studio Code

Andyroo wrote:
Tue Sep 17, 2019 11:44 pm
Have you seen the Headmelted install at https://code.headmelted.com/? I’ve not tried it under Buster.
The latest version doesn't work. Version 1.29 works but it's almost a year behind the current upstream version (1.38).
by markkuk
Mon Sep 16, 2019 10:24 am
Forum: Beginners
Topic: Install Oracle Java on RPi 4
Replies: 2
Views: 86

Re: Install Oracle Java on RPi 4

nielsgeode wrote:
Mon Sep 16, 2019 7:49 am
When I have OpenJDK installed and run it in verbose method I get a ton of output. The problem could be that it requires Oracle Java and not Open Java.
"Verbose" means that you are supposed to get a ton of output. All the messages are tagged "info", so there isn't any problem that needs fixing.
by markkuk
Thu Sep 12, 2019 11:36 am
Forum: Beginners
Topic: List of users and their rights
Replies: 4
Views: 115

Re: List of users and their rights

Try this command:

Code: Select all

lslogins -u
by markkuk
Wed Sep 04, 2019 11:22 am
Forum: Beginners
Topic: No background with programming
Replies: 9
Views: 310

Re: No background with programming

Here are a few Python tutorials for people with no programming experience:
A Byte of Python
Automate the Boring Stuff with Python
How to Think Like a Computer Scientist: Learning with Python 3
by markkuk
Mon Sep 02, 2019 5:56 am
Forum: C/C++
Topic: UART interfacing with "pigpio"
Replies: 2
Views: 147

Re: UART interfacing with "pigpio"

Did you connect the ground pins in addition to TxD and RxD? Remember that electricity flows in circuits.
by markkuk
Mon Sep 02, 2019 5:49 am
Forum: Beginners
Topic: How to use RSP in company
Replies: 25
Views: 856

Re: How to use RSP in company

kobata wrote:
Mon Sep 02, 2019 1:50 am
Would you teach me what RPF and RPT are? Are they company name?
Raspberry Pi Foundation and Raspberry Pi (Trading) Limited
by markkuk
Mon Sep 02, 2019 5:41 am
Forum: Beginners
Topic: Motor control
Replies: 3
Views: 232

Re: Motor control

this is the error i get:%Run Stepper_Test.py Traceback (most recent call last): File "/home/pi/Downloads/MotorShield-master/Stepper_Test.py", line 14 except KeyboardInterrupt: ^ SyntaxError: invalid syntax You don't have a "try" keyword before "except". See the Python tutorial on exception handling...
by markkuk
Fri Aug 30, 2019 8:45 am
Forum: Advanced users
Topic: real-time kernel on rpi 3b+ for audio application
Replies: 5
Views: 376

Re: real-time kernel on rpi 3b+ for audio application

I realized that the rpi doesn't actually have an hardware real time clock (RTC) nor a High Precision Event Timer (HPET). RTC is used to keep track of the "wall-clock" time while the system is powered off. You can buy an add-on RTC like this: https://shop.pimoroni.com/products/adafruit-pirtc-pcf8523...
by markkuk
Thu Aug 29, 2019 6:57 am
Forum: Python
Topic: problem with sleep, and apending to a file
Replies: 11
Views: 510

Re: problem with sleep, and apending to a file

For the first problem, see the wait_for_edge() function and event callback functions in RPi.GPIO: https://sourceforge.net/p/raspberry-gpi ... ki/Inputs/
by markkuk
Mon Aug 26, 2019 5:43 am
Forum: General discussion
Topic: problems with raspberry pi 4b
Replies: 18
Views: 1464

Re: problems with raspberry pi 4b

I have a 128GB MicroSD card in my Pi4. Any size up to 2TB should work without any problems.
by markkuk
Sat Aug 24, 2019 5:23 pm
Forum: Beginners
Topic: XF86calculator
Replies: 2
Views: 103

Re: XF86calculator

Here's a recent article on setting up custom keyboard actions: https://www.tomshardware.com/news/raspb ... 40215.html

See also the generic Openbox documentation: http://openbox.org/wiki/Help:Bindings
by markkuk
Thu Aug 15, 2019 6:09 am
Forum: Beginners
Topic: Recommendations for development environment
Replies: 7
Views: 482

Re: Recommendations for development environment

Shouldn't be a problem to also get a Pi4. Do you know if it's possible to compile on the PI4 and then simply copy to the PI3? As long as you use the same OS on both there shouldn't be any problems. Just make sure that the necessary run-time libraries are on the target system. Packaging the applicat...
by markkuk
Tue Aug 13, 2019 6:30 am
Forum: Beginners
Topic: 100 msec timer interrupt, input switch interrupt , display 2 numbers on a hdmi screen
Replies: 26
Views: 775

Re: 100 msec timer interrupt, input switch interrupt , display 2 numbers on a hdmi screen

You must add a space between "def" and "__init__". "def" is a Python keyword that starts a function definition, "__init__" is the name for a class constructor function.
by markkuk
Fri Aug 02, 2019 10:44 am
Forum: Advanced users
Topic: Using RTC module and synchronizing time from the net together
Replies: 7
Views: 413

Re: Using RTC module and synchronizing time from the net together

As I researched, you can use ntpd each time you want and call it to set system time ntpd is a service that runs continuously in the background and keeps your system time synchronised with network time servers. Clearly you don't understand the difference between NTP and ntpd, or between a communicat...
by markkuk
Fri Aug 02, 2019 7:11 am
Forum: Advanced users
Topic: Using RTC module and synchronizing time from the net together
Replies: 7
Views: 413

Re: Using RTC module and synchronizing time from the net together

semih_sky wrote:
Thu Aug 01, 2019 11:30 am
I've searched the differances between ntpd and ntp, after that I've seen ntp will be better for this project.
NTP is a protocol and ntpd is a program implementing that protocol. If you install ntpd you will be using NTP to set your system time.
by markkuk
Mon Jul 29, 2019 10:29 am
Forum: General discussion
Topic: Raspberry pi for coding on machine level?
Replies: 31
Views: 1340

Re: Raspberry pi for coding on machine level?

ProDigit wrote:
Mon Jul 29, 2019 7:34 am
I was wondering if C can generate (rather than the binary) a file that's readable in assembler.
Yes, use the -S option of the gcc compiler.
by markkuk
Mon Jul 22, 2019 8:23 pm
Forum: Networking and servers
Topic: Webmin install problem
Replies: 1
Views: 127

Re: Webmin install problem

Perl is a programming language, and Webmin is written in Perl. Are you sure there isn't a previous Webmin installation on the system?
by markkuk
Sun Jul 21, 2019 11:42 am
Forum: Beginners
Topic: Help/advice needed with a seti@home project/ldea
Replies: 4
Views: 177

Re: Help/advice needed with a seti@home project/ldea

However... do SETI@HOME have an implementation and support for their tools that is known to run on Raspberry Pi hardware? It's provided by the Raspbian distro: sudo apt update sudo apt install boinc boinc-app-seti I don't think it has any cluster support beyond using a single BOINC Manager to contr...
by markkuk
Wed Jul 17, 2019 9:36 am
Forum: Beginners
Topic: Debian-Adding keyboard
Replies: 2
Views: 274

Re: Debian-Adding keyboard

Keyboards and mouses should work without any special software. What's the type of your keyboard/mouse combo and what's the problem that you are trying to solve? Are you sure the software you wish to install is compatible with Linux running on an ARM processor?
by markkuk
Tue Jul 16, 2019 9:10 am
Forum: Automation, sensing and robotics
Topic: Programming an adafruit trinket from Rasperrypi
Replies: 2
Views: 194

Re: Programming an adafruit trinket from Rasperrypi

Trinket is programmed through the USB interface and it's perfectly safe to do that from a Pi without any extra adapters. Connecting the 5V Trinket GPIO pins to Pi GPIO pins isn't safe, but that's not related to programming.
by markkuk
Fri Jul 05, 2019 12:19 pm
Forum: Beginners
Topic: Opening a .Desktop file on Boot
Replies: 4
Views: 202

Re: Opening a .Desktop file on Boot

A .desktop file is not an executable file, it's a specification for a menu entry. See: https://specifications.freedesktop.org/desktop-entry-spec/latest/ Open the .desktop file in any text editor and look for a line starting with "Exec=" , that's the definition of the actual command started by the me...
by markkuk
Tue Jun 11, 2019 9:29 pm
Forum: C/C++
Topic: Porting C++ code to the Raspberry Pi
Replies: 5
Views: 545

Re: Porting C++ code to the Raspberry Pi

The code you are trying to compile is written for Microsoft Windows and the Microsoft Visual C++ compiler. All the errors are from types and funtions that are specific to the Microsoft environment and not parts of the standard C++ language. You need to remove all Windows-specific code and write equi...
by markkuk
Mon Jun 03, 2019 9:55 am
Forum: Python
Topic: Python3 network module seems not to have WLAN attribute
Replies: 13
Views: 771

Re: Python3 network module seems not to have WLAN attribute

You are tring to run MicroPython code on a RPi. The network module of MicroPython is not a part of the standard Python language and it's not available (or necessary) on Raspbian Linux. Setting up a WLAN connection is handled entirely by the operating system: https://www.raspberrypi.org/documentation...

Go to advanced search