Skip to content

Instantly share code, notes, and snippets.

@Opiprog
Created May 3, 2013 22:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Opiprog/372981899a887bd6b0f2 to your computer and use it in GitHub Desktop.
Save Opiprog/372981899a887bd6b0f2 to your computer and use it in GitHub Desktop.
Script to occupy CPU at 100% on the Raspberry Pi
# Occupy CPU python code
i=0
while True:
i=i+1
if i==10:
i=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment