Programming C++ - fast-gpio compiled from source not working
- 
					
					
					
					
 Hello All, 
 I have downloaded fast-gpio source from https://github.com/sidwarkd/onion_omega_gpio and compiled it using cross-compiler on NetBeans IDE. I am using lede/staging_dir/toolchain-mipsel_24kc_gcc-5.4.0_musl/bin/mipsel-openwrt-linux-g++ for compilation.The generated binary works fins on Omega2+, firmware 0.1.10-b160. Mens, it takes input and processes it without crashing, but it doesn't turn on/off LED. I tried GPIO 0, but it is not setting it high. Can anybody help me to fix this, as I want to develop system in C++. 
 
- 
					
					
					
					
 can you please explain how to configure your c++ compiler ? 
 
- 
					
					
					
					
 @ammar-tsh said in Programming C++ - fast-gpio compiled from source not working: can you please explain how to configure your c++ compiler ? Please see the existing threads on that; it is not on topic in this thread. 
 
- 
					
					
					
					
 I guess, people are busy. I really appreciate any help or even some pointers. 
 
- 
					
					
					
					
 Often it's good to break problems down. Have you verified that you can control the LED using the /sys/class/gpio interface? In your fast gpio version, are you sure you have the right pin and are configuring it as an output?