This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
On-board LEDs
Are there any on-board LEDs that I can manipulate?  I am trying the following code from Wiki page.  It talks about the following three LEDs

  • PWR_LED 3

  • ACT_LED 48

  • LED1_LED 49
But when I try these LEDs, nothing happens on the motherboard.  The output on the shell says wrong gpio for all 3 of these.

[color=#222222][font=sans-serif]wrong gpio
led on
led off
led on

Here is the code:

[color=#222222][font=sans-serif]import ASUS.GPIO as GPIO [/font][/color]
import time

LED = 49
   while True:
       print "led on"
       print "led off"
except KeyboardInterrupt:
[color=#222222][font=sans-serif]   GPIO.cleanup()

[These font and color artifacts are added by this forum, please ignore]

I think we should not define color because they are led with a single color

Have you already tried ?

If so, look in the forum you will find maybe?

Forum Jump:

Users browsing this thread: 1 Guest(s)