   // Call 'refresh' on startup, on reconnection, and when the pushing 'Refresh' button
   shield.setOnRefresh(refresh);
   
+  camera.setOnEvent(cameraEvent);
+  
   // Begin the shield communication
   shield.begin();
 }

Text screen = Text(shield);
Camera camera = Camera(shield);

// Callback for startup, reconnection, and when the pushing 'Refresh' button
void refresh(ShieldEvent* shieldEvent)
{

  // checkSensors() checks for return events and handles them (calling callbacks). This is VirtualShield's single loop() method.
  // If an email result returns, the callback of emailEvent() is executed where it displays the values to the screen.
  shield.checkSensors();
}		 