Skip to content

josh-williams-401-advanced-javascript/js-401d37-class-41

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Strobe Light App

How to use this app:

  1. Visit exp://expo.io/@jswill88/strobe-light+wligmOhDK on a mobile device, and open the app with Expo
  2. Give the app permission to use your camera
  3. Click "Start" to see your camera flash go on and off
  4. Click "Stop" to stop the flashing
  5. Move the slider, or press 'Slower' and 'Faster' to change the speed of the flash

I don't know if this works on Android, but it works on iPhone

Resources

https://upmostly.com/tutorials/setinterval-in-react-components-using-hooks
https://docs.expo.io/versions/v39.0.0/sdk/camera/
https://github.com/react-native-community/react-native-slider

Code

https://snack.expo.io/@jswill88/strobe-light

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published