text: """
  `neopixel_write` - NeoPixel precision timed writing support
  =================================================
  
  See `CircuitPython:neopixel_write` in CircuitPython for more details.
  
  * Author(s): ladyada
  """
  
  import sys
  
  from adafruit_blinka.agnostic import detector
  
  if detector.board.any_raspberry_pi:
      from adafruit_blinka.microcontroller.bcm283x import neopixel as _neopixel
  elif "sphinx" in sys.modules:
      pass
  else:
      raise NotImplementedError("Board not supported")
  
  
  def neopixel_write(gpio, buf):
      """Write buf out on the given DigitalInOut."""
      return _neopixel.neopixel_write(gpio, buf)
  