 
   use GenServer
   require Logger
-
-  # Calculate this at runtime.
-  defp executable_path do
-    "#{:code.priv_dir(:nerves_neopixel)}/rpi_ws281x"
-  end
 
   def start_link(channel1, channel2 \\ [pin: 0, count: 0]) do
     GenServer.start_link(__MODULE__, [channel1, channel2], [name: __MODULE__])

    end)
  end

end

    |> to_string


    port = Port.open({:spawn_executable, rpi_ws281x_path()},
      [{:args, [ch1_pin, ch1_count, ch2_pin, ch2_count]},
        {:packet, 2},
        :use_stdio,
        :exit_status,
        :binary])
    {:ok, %{
      port: port
