Questions tagged [raspberry-pi2]

RPI QUESTIONS MUST BE PROGRAMMING RELATED. The Raspberry Pi 2 is a quad-core, ARMv7 instruction set CPU with 1GB of RAM. See the related StackExchange site at https://raspberrypi.stackexchange.com. Also see the first edition's tag at https://stackoverflow.com/questions/tagged/raspberry-pi .

RPI QUESTIONS MUST BE PROGRAMMING RELATED. The Raspberry Pi model 2 is a budget computer that fits in your hand. It has 4 cores, 1GB of RAM, and runs ARMv7-based CPUs.

If the question is not programming related then it may be on-topic at Raspberry Pi Stack Exchange, Internet of Things Stack Exchange or Unix & Linux Stack Exchange.

1237 questions
5
votes
3 answers

Can I develop Linux based Raspberry Pi apps in Visual Studio 2015 or on a Mac (Eclipse or XCode)?

I know there's a lot you can do in VS2015 as far as cross platform mobile dev, but I am not sure if it can do Linux, specifically for the Raspberry Pi Raspbian OS. Can it? If not, can I use something like Eclipse on my Mac or something else on my…
Beau D'Amore
  • 3,174
  • 5
  • 24
  • 56
5
votes
1 answer

windows 10 IOT universal windows app, how do i install an app programatically

Running win10 IOT core on the raspberry pi 2 and I'm wondering if the following is possible: 1) have a headless app running that is called 'version checker'. in addition, have multiple other headless apps running. 2) if a new version of an app is…
yamspog
  • 18,173
  • 17
  • 63
  • 95
5
votes
3 answers

ARM Cortex A7 returning PMCCNTR = 0 in kernel mode, and Illegal instruction in user mode (even after PMUSERENR = 1)

I want to read the cycle count register (PMCCNTR) on a Raspberry Pi 2, which has an ARM Cortex A7 core. I compile a kernel module for it as follows: #include #include int init_module() { volatile u32 PMCR,…
Andrew Tomazos
  • 66,139
  • 40
  • 186
  • 319
5
votes
1 answer

Sparkfun SC16IS750 does not work on Raspberry Pi

I'm connecting a SC16IS750 spi-2-uart bridge to the Raspberry Pi 2 in order to increase the number of uart ports. The product is a breakout board made by Sparkfun (https://www.sparkfun.com/products/9981), utilizing the SC16IS750 chip…
JZYL
  • 211
  • 1
  • 8
5
votes
1 answer

Windows 10 IoT Raspberry Pi 2: DHT22/AM2302

I just wanted to start making experience with the DHT22/AM2302 (a temperature and humidity sensor), but I have no idea how to initialize and get the data of it ... I tried to use GpioPin: gpioController =…
5
votes
2 answers

Shared variable with GPIO callback function with Raspberry

I wrote this simple test program in python to check if something happen when I press a button in my Raspberry Pi: import RPi.GPIO as GPIO from time import sleep GPIO.setmode(GPIO.BCM) GPIO.setup(24, GPIO.IN, pull_up_down =…
NiBE
  • 857
  • 2
  • 16
  • 39
5
votes
3 answers

Auto login to jira on a raspberry pi wallboard

I'm working on a raspberry pi wallboard to display the project jira status on a wall mounted screen. To make the raspberry pi work as a wallboard i have followed the tutorial on…
DukeMe
  • 167
  • 2
  • 8
5
votes
1 answer

OpenMP not using all available cores on Raspberry Pi 2

I'm using OpenTLD (that uses OpenCV for image analysis) in a Raspberry Pi 2 project for object tracking. In order to combat lag issues (about 3 seconds of video lag) I enabled OpenMP support when I compiled. Now, I get only about 2 seconds of lag.…
faeophyta
  • 323
  • 5
  • 16
4
votes
0 answers

Error creating default \"bridge\" network: package not installed"

Suddently my docker daemon stop and never turned on again. I'm running docker on a Linux raspberrypi 4.1.13-v7+. It worked before until last week when my docker service suddenly stop working and I don't have a clue why. My docker version…
ePascoal
  • 2,362
  • 6
  • 26
  • 44
4
votes
1 answer

dotnet core System.Threading.Timer only fires once

Working on a Linux service and when I setup the System.Threading.Timer it only fires once. The interesting part is it only fires once on Linux. When debugging on Windows it continually fires. For the time being I've gotten around this by using…
Clarke76
  • 724
  • 1
  • 7
  • 17
4
votes
2 answers

How to use MS-IoT Lightning to set/get PWM with Raspberry Pi2?

I'd like to get Frequency and Duty Cycle of two PWM signals (i.e. PWM inputs) and set them for another one (i.e. PWM output) depending on inputs. These PWM signals have a Duty Cycle of 50%, while their Frequency range is from 1kHz to 20kHz. I…
Lorenzo R.
  • 133
  • 9
4
votes
3 answers

Automatically update apps inside the Windows 10 IoT Core?

Recently I have a question. If I write an UWP app and install into a Raspberry Pi with Windows IoT Core OS, is it possible that I set a automatic OTA update for my app inside the Raspberry Pi, just like normal UWP apps in Windows App Store do? EDIT:…
Jackson Ming Hu
  • 1,681
  • 2
  • 14
  • 23
4
votes
3 answers

installing mysql connector for python 3 in raspberry pi

I am new at using raspberry pi. I have a python 3.4 program that connects to a database on hostinger server. I want to install mysql connector in raspberry pi.I searched a lot but I was not able to find answers . any help would be appreciated
M2skills
  • 301
  • 1
  • 5
  • 19
4
votes
2 answers

Python tkinter after

I use tinter.after() for refreshing the display of an analog clock on a raspberry pi every 200ms. At the beginning it's OK but gradually the time between each refresh reaches about 2-3 seconds. Is there any solution to keep the refresh interval to…
b kouhi
  • 41
  • 1
  • 4
4
votes
2 answers

Running a .py file in a loop

I am currently trying to run a .py file but in a loop. Just for a test I am using I = 0 while I<10: os.pause(10) open(home/Tyler/desktop/test.py) I = I + 1 I am sure this is a very simple question but I can't figure this one out. I…
TylerTotally
  • 113
  • 1
  • 2
  • 9