Go to advanced search

by davenull
Sun May 15, 2016 8:27 pm
Forum: C/C++
Topic: clear a LXTerminal window
Replies: 5
Views: 1515

Re: clear a LXTerminal window

yes, thank you, but that is faaaar toooo muchhhh to read! ( actually I do not even know where to start to read over there!) O.o But this is fine: "\033[2J" clears the whole visible window without moving the cursor and the other one and "\033[H" homes the cursor to the top left. I am already using 8-...
by davenull
Sun May 15, 2016 8:23 pm
Forum: C/C++
Topic: clear a LXTerminal window
Replies: 5
Views: 1515

Re: clear a LXTerminal window

hmm, I'm not using curses, just the normal LXterminal window opened as stdout for printf(), but perhaps
system("clear");
would work then in a C program...

Already a little late now, my Pi robot is off, but I'll try it tomorrow then ASAP :)
by davenull
Sun May 15, 2016 7:50 pm
Forum: C/C++
Topic: clear a LXTerminal window
Replies: 5
Views: 1515

clear a LXTerminal window

hello,
is it possible to clear a LXTerminal window before starting to write anew?
by davenull
Sun May 15, 2016 9:56 am
Forum: C/C++
Topic: wiringPi 2.32: error: wiringPi must be root ???
Replies: 15
Views: 3584

Re: wiringPi 2.32: error: wiringPi must be root ???

yes, I'll do! :)
by davenull
Sun May 15, 2016 9:51 am
Forum: C/C++
Topic: wiringPi 2.32: error: wiringPi must be root ???
Replies: 15
Views: 3584

Re: wiringPi 2.32: error: wiringPi must be root ???

aaahh... not in the terminal, but in the program itself...?! I faultily assumed one had to do things like cat /etc/group sudo usermod -aG gpio pi sudo usermod -aG dialout pi ok, that would be fine if one could read that in your user manual, as not everyone would be supposed to find this.topic to rea...
by davenull
Sun May 15, 2016 9:41 am
Forum: C/C++
Topic: wiringPi 2.32: error: wiringPi must be root ???
Replies: 15
Views: 3584

Re: wiringPi 2.32: error: wiringPi must be root ???

I reckon the OP is talking about software PWM rather than hardware PWM
yes, I use software pwm, but also internal Pullups/downs by the wiringPi libs.
by davenull
Sun May 15, 2016 9:36 am
Forum: C/C++
Topic: wiringPi 2.32: error: wiringPi must be root ???
Replies: 15
Views: 3584

Re: wiringPi 2.32: error: wiringPi must be root ???

well, I know what environmet variables are, I used them by DOS since 30 years and Windows since 20 years. I simply don't understand your plan what exact to do, not in a prosaic style but in a short to-do-list : 1. ? 2. ? 3. ? 4. ? 5. ? ...? maybe one could wrap that into a bash file, to be started m...
by davenull
Sun May 15, 2016 8:54 am
Forum: Raspbian
Topic: new Raspian 2016_04_10 SD copy tool: issues...
Replies: 22
Views: 3620

Re: new Raspian 2016_04_10 SD copy tool: issues...

why does then lsblk work and no sda* listed? nevertheless, also after reboot with inserted USB reader no sda* at all edit - now I understand, it's the internal SD listed, I did not understand that cryptic lsblk message. update - just observed that the NEW (!!) USB card reader is defective. Just used...
by davenull
Sat May 14, 2016 10:25 pm
Forum: Raspbian
Topic: new Raspian 2016_04_10 SD copy tool: issues...
Replies: 22
Views: 3620

Re: new Raspian 2016_04_10 SD copy tool: issues...

yes! lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT mmcblk0 179:0 0 28,9G 0 disk ├─mmcblk0p1 179:1 0 1,1G 0 part ├─mmcblk0p2 179:2 0 1K 0 part ├─mmcblk0p5 179:5 0 32M 0 part /media/pi/SETTINGS ├─mmcblk0p6 179:6 0 63M 0 part /boot └─mmcblk0p7 179:7 0 27,7G 0 part / but now not even a sda file in /dev ...
by davenull
Sat May 14, 2016 10:17 pm
Forum: Beginners
Topic: weird voltage 3.0V on GPIO.26
Replies: 27
Views: 3927

Re: weird voltage 3.0V on GPIO.26

thanks, I did not test it, but unplugging all cables did not help about GPIO.26: It's still 3V, several other ones also as I observed. Perhaps a shortcut by mistaking a GND pin by a neighboured signal pin was the reason. It's really awfully poor that the GPIO pins are so extremly bad unsorted and me...
by davenull
Sat May 14, 2016 7:14 pm
Forum: C/C++
Topic: wiringPi 2.32: error: wiringPi must be root ???
Replies: 15
Views: 3584

Re: wiringPi 2.32: error: wiringPi must be root ???

Without sudo you can not use PWM, nor can you control the internal pull-up/down resistors.
ok, as I always need all that, that's reason enough, thank you!

Anyway, I still don't understand the procedure to disable sudo in case I wanted, it's really extremely complicated and confusing...
by davenull
Sat May 14, 2016 7:03 pm
Forum: C/C++
Topic: wiringPi 2.32: error: wiringPi must be root ???
Replies: 15
Views: 3584

Re: wiringPi 2.32: error: wiringPi must be root ???

I could not find anything I was able to understand how to not have to run it by sudo.
And I'm not the only one who is puzzled
http://www.roboternetz.de/community/thr ... post626784
- who needs sudo, and why is non-sudo not the default?
by davenull
Sat May 14, 2016 6:57 pm
Forum: Beginners
Topic: weird voltage 3.0V on GPIO.26
Replies: 27
Views: 3927

Re: weird voltage 3.0V on GPIO.26

ok, you are right, and I have my peace.
then the numbers GPIO.x in my linked scheme refer to sth different - who cares.

Now stop arguing or this topic will again be starting a flame war.
by davenull
Sat May 14, 2016 6:49 pm
Forum: Beginners
Topic: weird voltage 3.0V on GPIO.26
Replies: 27
Views: 3927

Re: weird voltage 3.0V on GPIO.26

just look at the chart/scheme I linked to and read Gordon's statements, perhaps it's about rev 1 and rev 2 boards, maybe it's a 5th version what has not even been mentioned before here - I have no idea who invented all that crappy numbering nonsens - but finally it does not matter any more, so no ne...
by davenull
Sat May 14, 2016 6:09 pm
Forum: Beginners
Topic: weird voltage 3.0V on GPIO.26
Replies: 27
Views: 3927

Re: weird voltage 3.0V on GPIO.26

scheme: http://www.mindstormsforum.de/viewtopic.php?f=78&t=8689#p67777 my GPIO.x (with dot) is the /sys/class/gpio interface numbering , your GPIOx (no dot) is the BCM numbering and again: hell, what a crap! http://wiringpi.com/reference/setup/ There are four ways to initialise wiringPi. int wiringP...
by davenull
Sat May 14, 2016 5:51 pm
Forum: Beginners
Topic: weird voltage 3.0V on GPIO.26
Replies: 27
Views: 3927

Re: weird voltage 3.0V on GPIO.26

anyway,
on my 2nd Pi GPIO.26 is always oV,
and the other one has always 3V.

Also on USB there are some issues.
So it's most probably broken.
by davenull
Sat May 14, 2016 5:44 pm
Forum: Beginners
Topic: weird voltage 3.0V on GPIO.26
Replies: 27
Views: 3927

Re: weird voltage 3.0V on GPIO.26

that's BCM26, not GPIO.26

BCM 12 == GPIO.26 == physical 32

(again, hell, what a crappy numbering!! )
by davenull
Sat May 14, 2016 5:07 pm
Forum: Raspbian
Topic: new Raspian 2016_04_10 SD copy tool: issues...
Replies: 22
Views: 3620

Re: new Raspian 2016_04_10 SD copy tool: issues...

a Noobs card, but when I first checked the copy on my original Pi there have been created and written 5 partitions , and then 5 partitions have been detected in /dev: sda1, sda2, sda5, sda6, sda7. and additionally sda. Now after some attempts to boot from that SD clone there is only sda listed, the ...
by davenull
Sat May 14, 2016 5:00 pm
Forum: Beginners
Topic: weird voltage 3.0V on GPIO.26
Replies: 27
Views: 3927

Re: weird voltage 3.0V on GPIO.26

GPIO.26 is on physical 32
yes, without SD card it's also 3V.

OTOH, GPIO.23 (physical 33) is ~0V.

(BTW, who the hell has invented those weird and annoying and puzzling numbering schemes !?! :evil: )
by davenull
Sat May 14, 2016 4:51 pm
Forum: C/C++
Topic: new Geany version 1.27
Replies: 6
Views: 1704

Re: new Geany version 1.27

no, I misunderstood the announcement. I faultily assumed that the new Geany features are provided by the newest version as it was published in the Raspian 2016-04-10 blog. And then it was linked to the Geany website, where they talk about the 1.27. So I concluded that the 1.27 would be needed then, ...
by davenull
Sat May 14, 2016 4:46 pm
Forum: C/C++
Topic: wiringPi 2.32: error: wiringPi must be root ???
Replies: 15
Views: 3584

wiringPi 2.32: error: wiringPi must be root ???

hi,
although I have updated to wiringPi 2.32, I get the error msg "wiringPi must be root" when I try starting my program by Geany (F5) -
how can that be ?
Shouldn't this issue have been fixed meanwhile ?
by davenull
Sat May 14, 2016 4:34 pm
Forum: Raspbian
Topic: new Raspian 2016_04_10 SD copy tool: issues...
Replies: 22
Views: 3620

Re: new Raspian 2016_04_10 SD copy tool: issues...

hm, as there are no more replies, I would assume that the SD copy tool is possibly still quite bugged... :(
by davenull
Sat May 14, 2016 4:32 pm
Forum: Beginners
Topic: weird voltage 3.0V on GPIO.26
Replies: 27
Views: 3927

weird voltage 3.0V on GPIO.26

hello,
although there is no special program started by me I have a weird voltage signal of constant 3.0 V on GPIO.26
no power consuming devices plugged to either GPIOs.

5V pins are 4.9V, 3.3V pins are 3.3V

I would assume that my Raspi is defective, but is there a way to test?
by davenull
Sat May 14, 2016 2:41 pm
Forum: Raspbian
Topic: new Raspian 2016_04_10 SD copy tool: issues...
Replies: 22
Views: 3620

Re: new Raspian 2016_04_10 SD copy tool: issues...

next problem:

When I insert the SD clone to a USB reader then I can find just /dev/sda but no sda1, sda2,....sda7

ejected and replugged it: no change.
restarted, replugged: no change.

where are the missing partitions?

Go to advanced search