final server with GPIO