Joystick Error - Raspberry Pi Forums


this common type of post in forum joystick not working. have isolated code quite long , software error instead of hardware. have read guides posted on rpi website , believe i'm doing right. here isolated version of code:

code: select all

from astro_pi import astropi #importing astropi python library. ap = astropi() temp = ap.get_temperature() z = [255, 0, 0] redhigh = [ z, z, z, z, z, z, z, z, z, z, z, z, z, z, z, z, z, z, z, z, z, z, z, z,  #setting individual neopixels create high red equilizer when values above safe values z, z, z, z, z, z, z, z, z, z, z, z, z, z, z, z, z, z, z, z, z, z, z, z, z, z, z, z, z, z, z, z, z, z, z, z, z, z, z, z ] event.type = input(ap.show_message("select variable screen")) while event.type == keyleft:     while temp < 30:         ap.set_pixels(redhigh)
huge in advance i've spent 3 hours trying fix it! :lol: :d

hi, can ask, know how make temperature displayed on 1 page, , when move joystick right, shows humidity... please @ post see mean.


raspberrypi



Comments

Popular posts from this blog

opencv3, tbb and rasp pi 2 - Raspberry Pi Forums

small ethernet problem - Raspberry Pi Forums

Multithumb configuration params not working? - Joomla! Forum - community, help and support