button.rkt
#lang racket
(require "firmata.rkt")
(open-firmata "/dev/cu.usbserial-A5002tPQ")

(define button-pin 5)

(set-pin-mode! button-pin INPUT_MODE)
(report-digital-port! 0 ON)

(is-arduino-pin-set?  button-pin)

(on-button-pressed button-pin (lambda () (display "pressed")))