Skip to content

Instantly share code, notes, and snippets.

@scottlinux
scottlinux / config.txt
Created June 11, 2016 17:41
Raspberry Pi 2 overclock settings
gpu_mem=16
arm_freq=1000
sdram_freq=500
core_freq=500
over_voltage=2
temp_limit=80
initial_turbo = 30
@scottlinux
scottlinux / cpustatus.sh
Last active March 7, 2016 19:32 — forked from ecampidoglio/cpustatus.sh
A Bash script that prints the current state of the CPU on a Raspberry Pi. It displays variables like temperature, voltage and speed. (Modified for Arch Linux Arm)
#!/bin/bash
# cpustatus
#
# Prints the current state of the CPU like temperature, voltage and speed.
# The temperature is reported in degrees Celsius (C) while
# the CPU speed is calculated in megahertz (MHz).
function convert_to_MHz {
let value=$1/1000
echo "$value"