error message list does not support the buffers interfaces - Raspberry Pi Forums


hello

i've made programm send table processing i'have error message "list not support buffers interfaces"
how can correct ?

programm

code: select all

import socket import time import rpi.gpio gpio  gpio.setwarnings(false)  gpio.setmode(gpio.bcm) gpio.setup(5,gpio.out) gpio.setup(6,gpio.in) gpio.setup(13,gpio.out) gpio.setup(19,gpio.in)                                                                                                                                     udp_ip = "192.168.43.154" udp_port= 8080  listled= ["a","b","c"]   etat1=0 etat2=0  sock = socket.socket(socket.af_inet,socket.sock_dgram) sock.sendto(str(listled),(udp_ip,udp_port))   while true:             if(gpio.input(6)==etat1+1 ):   #clignotant                  etat1=a                  gpio.output(5,true)                  time.sleep(0.5)                  gpio.output(5,false)                  time.sleep(0.5)             else:               gpio.output(5,false)              if(gpio.input(19)==etat2+1):  #clignotant                  etat2=b                  gpio.output(13,true)                  time.sleep(0.5)                  gpio.output(13,false)                  time.sleep(0.5)             else:               gpio.output(13,false)  

can post complete error message (this should include location, etc)

btw, there's possible typo. you're using both 'listled' , 'listeled' , they're not referenced anywhere else.


raspberrypi



Comments

Popular posts from this blog

VIDIOC_S_FMT error 16, Device or resource busy - Raspberry Pi Forums

using a laptop skeleton to build a pi laptop - Raspberry Pi Forums

Forum for Joomla? - Joomla! Forum - community, help and support