Go to advanced search

by hyeonsoft
Sun Dec 09, 2018 11:18 pm
Forum: C/C++
Topic: WiringPi Segmentation fault
Replies: 3
Views: 1080

Re: WiringPi Segmentation fault

cmrincon wrote:
Sun Dec 09, 2018 6:47 pm
Hi!
did you try to use any debug tool? It can be usefull to know which line have the problem.
Thank you for your reply. I just found an error by using gdb. I didn't know there was a wonderful tool in gcc
by hyeonsoft
Sun Dec 09, 2018 12:20 pm
Forum: C/C++
Topic: WiringPi Segmentation fault
Replies: 3
Views: 1080

WiringPi Segmentation fault

Hello, I want to make a model train controller by using gpio on raspberry pi B. But it not works always I am trying to apply train's expected speed to pwm signal. Here is my code : #include <stdio.h> #include <wiringPi.h> #include <termios.h> #include <unistd.h> #include <fcntl.h> #include <math.h> ...

Go to advanced search