lib/ws2812/basic.rb
def []=(index, color)
			if index.respond_to?(:to_a)
				index.to_a.each do |i|
					check_index(i)
					ws2811_led_set(@channel, i, color.to_i)
				end
			else
				check_index(index)
				ws2811_led_set(@channel, index, color.to_i)
			end
		end
def []=(index, color)
			if index.respond_to?(:to_a)
				index.to_a.each do |i|
					check_index(i)
					ws2811_led_set(@channel, i, color.to_i)
				end
			else
				check_index(index)
				ws2811_led_set(@channel, index, color.to_i)
			end
		end
Set given pixel identified by +index+ to +color+

 See +set+ for a method that takes individual +r+, +g+, +b+
 components