All Questions

Tagged with
Filter by
Sorted by
Tagged with
0
votes
1answer
176 views

Programming Raspberry Pi Camera with C instead of terminal commands

Disclaimer: not so advanced here! Let me explain why I am looking for C code because the motivation itself maybe flawed. If I want to transport my Raspberry Pi project to the realm of customized ...
1
vote
1answer
1k views

glibconfig.h no such file or directory

I just installed glib in Raspbian(Debian version). I want to read a config file using glib. I am trying to write a C application in Codeblocks and I use the header #include <glib.h> But I ...
1
vote
0answers
261 views

How deep can a virtual machine like VirtualBox emulate Raspberry Pi?

Currently I have the firmware code for a device running on Raspberry Pi. I want to use a linux computer that I have to test the device out using a virtual machine like Virtual Box (To connect it to ...
0
votes
2answers
1k views

Autorun c executable on boot

I tried following the many autorun-suggestions given on different forums, but I'm still struggling with it. I've got a C code that runs on the Pi - logs temperature and sends the data to the serial ...
0
votes
1answer
6k views

Read/Write on Raspberry Pi 3 Bluez C/C++

Once I'm connected to a bluetooth device I try to read and write a request by handle or uuid (I tried both) with no success. I'm using this library gattlib-master which works for the examples of ...
1
vote
1answer
126 views

Is there any way to further increase the speed of clk in spi?

At first, i tried to communicate with MCP3008 with raspberry using wiring Pi library and as it communicates through the spi driver, the data retrival of it is quite slow. Then, i opt for the next ...
1
vote
1answer
2k views

Raspberry Pi 3 BLE scanning failure

I am trying to implement the next code to scan for BLE devices: #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <sys/socket.h> #include <bluetooth/...
0
votes
1answer
3k views

Openssl + Raspberry Pi

if I code a program with openssl on a Ubuntu laptop will it work when it is compiled on the Raspberry Pi or are the libraries are different? does the command sudo apt-get install openssl work on ...
1
vote
0answers
1k views

Kernel panic Attempted to kill init! - Android kernel on raspberry pi

I compiled an Android Linux kernel for raspberry pi. The board seems to boot with that kernel but I get the following error when it tries to run /init process. Kernel panic - not syncing: Attempted ...
0
votes
2answers
1k views

Kernel module assembly output

I compiled the kernel modules written in C directly on my Raspberry Pi using this Makefile: obj-m := HelloWorld.o all: $(MAKE) -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules clean: ...
8
votes
2answers
7k views

How to use Java to read/write data to/from the header pins?

I just got Java running on my Raspberry Pi which took a lot more screwing around than i had hoped. I want to be able to read/write data to/from the header pins from Java. How can I do this? Do I need ...