atomvm / avm_scene

Repository from Github https://github.comatomvm/avm_sceneRepository from Github https://github.comatomvm/avm_scene

avm_scene

avm_scene adds graphical capabilities on top of gen_server, such as pushing graphical updates on handle_info or handle_call.

  [...]

  def handle_info(:show_hello, state) do
    # grapical items
    items = [...]

    {:noreply, state, [{:push, items}]}
  end

  [...]

About

License:Apache License 2.0


Languages

Language:Erlang 100.0%