Camera function works for minimal working system.