Changes pulse example to include camera
Minor code fixes