37 views
in GUI Development by
Is there any built-in LED of RPi-4B that I can toggle using the Inline Native Code

The DeviceDriver.h has this defined, I connected LED on gpio 0 but its not turning on or off;
#define LED_GPIO 0

1 Answer

+1 vote
by
 
Best answer

Please see the section Accessing Hardware GPIOs - have you tried that? If there is something not working - what have you tried so far?

Please try to follow one discussion thread and do not open / comment similar discussions again and again.

Best regards,

Manfred.

 

by

I have tried to run Device Integration Example. Facing this error while running the command make

by

Please download and install the WiringPi library first before trying to build the binary of the example. 

by

tried using command 

sudo apt-get install wiringpi
by

Hello,

unfortunately, the library WiringPi is deprecated and no more available for download within Raspbian OS.

We have now changed our Build Environment for RasPi-4B to use the GPIO library pigpio instead.

Please download the entire Build Environment once again and follow the instructions in the section Accessing Hardware GPIOs.

Best regards,

Manfred

Ask Embedded Wizard

Welcome to the question and answer site for Embedded Wizard users and UI developers.

Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!

Embedded Wizard Website | Privacy Policy | Imprint

...