Il mio problema non è tanto l' esempio che mi hai postato tu, con nessun esempio trovato in rete riesco a farlo funzionare poichè mi da questo errore:
A library relies on native code that's not available.
Or only works properly when the sketch is run as a 64-bit application.
Cosa dovrei fare?