849 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 - Archive

Welcome to the Ask Embedded Wizard archive. This community forum served us well for many years, but we've evolved our support approach!

Your resources:

The Embedded Wizard Online Documentation provides comprehensive documentation, tutorials, examples and ready-to-use software packages.

For dedicated assistance, explore our Embedded Wizard Product Support.

You can still browse the valuable discussions from our community history here.

Embedded Wizard Website | Privacy Policy | Imprint

...