Go to advanced search

by userino
Sun Feb 19, 2017 5:45 pm
Forum: C/C++
Topic: GPIO register access
Replies: 8
Views: 4445

Re: GPIO register access

[quote="[email protected].net" http://wiringpi.com/download-and-install/ has everything you need to get the sources. The real place for all the information is in the Broadcom ARM peripherals guide though. Lots of stuff here: https://www.raspberrypi.org/documentation/hardware/raspberrypi/README.md -Gordo...
by userino
Sun Feb 19, 2017 3:52 pm
Forum: C/C++
Topic: GPIO register access
Replies: 8
Views: 4445

Re: GPIO register access

Thank you for your suggestions.

But since this is learning exercise for me, i would like to get gpio access direct from registers, not from libraries.

@gordon, where can i find source code for wiringpi, couldn't find it on your site.
by userino
Sun Feb 19, 2017 1:44 pm
Forum: C/C++
Topic: GPIO register access
Replies: 8
Views: 4445

GPIO register access

Hi, there I am starting to get into programming lately, and 1st language i got into was python. I made a gui app that generates signal in different ways on rpi gpios (PWM, random period, incrementing period etc.) Now i want to do something similar in C++, and i want to go to low level, i want to acc...
by userino
Thu Feb 09, 2017 6:31 pm
Forum: Python
Topic: Fastest way possible of executing signal generation?
Replies: 1
Views: 445

Fastest way possible of executing signal generation?

Hi, So im doing a python code with GUI to make my raspberry pi 2 a signal generator. But what iv realized through usage of oscilloscope is that the program has slight delay of around 20 microseconds when executing "GPIO.HIGH" and "GPIO.LOW" Here is a part of code in question: GPIO.output(7, GPIO.LOW...
by userino
Fri Mar 27, 2015 7:36 pm
Forum: General discussion
Topic: Few questions about powering pi 2 and rainbow square
Replies: 12
Views: 1899

Re: Few questions about powering pi 2 and rainbow square

..... then i power off tv and my pi powers off), .... please clarify. You power off your pi by shutting off your tv? Yep, works great, with hdmi cec, i use my remote from tv to 1st shutdown the pi(OS openelec shuts down but pi is still powered, have to do this 1st so that sd doesnt get corupted), t...
by userino
Fri Mar 27, 2015 5:04 pm
Forum: General discussion
Topic: Few questions about powering pi 2 and rainbow square
Replies: 12
Views: 1899

Re: Few questions about powering pi 2 and rainbow square

I wanna run my pi off an tv usb....
Does it harm the pi if voltage is too low(rainbow square)?

Can i just use it regardless of the undervoltage, like i said only thing that happens is couple of restarts of pi in a few days, and i dont mind that...
by userino
Fri Mar 27, 2015 4:50 pm
Forum: General discussion
Topic: Few questions about powering pi 2 and rainbow square
Replies: 12
Views: 1899

Re: Few questions about powering pi 2 and rainbow square

remove the fan add max_usb_current=1 in /boot/config.txt and reboot Ok iv removed the fan, now rainbow square pops out every few seconds...... max_usb_current=1, from what i gathered will put output from my pis usb to 1200mA from 600mA, and that will remove the rainbow square from flashing? Are the...
by userino
Fri Mar 27, 2015 4:15 pm
Forum: General discussion
Topic: Few questions about powering pi 2 and rainbow square
Replies: 12
Views: 1899

Few questions about powering pi 2 and rainbow square

Hi, i am currently powering my pi(using openelec) via TV USB(powering tv powers my pi, then with my remote 1st i shutdown kodi then i power off tv and my pi powers off), and it runs smoothly pretty much, rainbow square is static in top right corner which i know means that my power supply is low. It ...
by userino
Wed Mar 04, 2015 5:40 pm
Forum: Beginners
Topic: Few questions before i buy Rpi2
Replies: 5
Views: 627

Re: Few questions before i buy Rpi2

DougieLawson wrote:Because it's overly complex for you to install it.

Swapping SDCards works, with zero configuration needed.

http://www.berryterminal.com/doku.php/berryboot

From this tutorial, it looks fairly simple.....

Btw. if by some chance i mess something up, i just format the card and go again, right?
by userino
Wed Mar 04, 2015 4:44 pm
Forum: Beginners
Topic: Few questions before i buy Rpi2
Replies: 5
Views: 627

Re: Few questions before i buy Rpi2

DougieLawson wrote:Forget Berryboot. Buy 2 8GB SDCards, stick Raspbian on one, stick OpenELEC on the other, use the hardware power off, click, pull, click, power on method to swap operating systems.

Why?
by userino
Wed Mar 04, 2015 3:33 pm
Forum: Beginners
Topic: Few questions before i buy Rpi2
Replies: 5
Views: 627

Few questions before i buy Rpi2

Hi there Im very close to buying Rpi2, but have few qs before i go and get it. Im planning of installing berryboot(i want install OPENELEC and raspbian) right of the bat. Instructions here (http://www.berryterminal.com/doku.php/berryboot) says that all i have to do is put the zip file on the sd card...

Go to advanced search