This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void setup() | |
{ | |
// Bean Serial is at a fixed baud rate. Changing the value in Serial.begin() has no effect. | |
Serial.begin(); | |
} | |
void loop() | |
{ | |
//Convert to Fahrenheit | |
int temperature = (Bean.getTemperature() * 9.0)/ 5.0 + 32.0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static UIImage Blur(this UIImage image, float blurRadius = 25f) | |
{ | |
if (image != null) | |
{ | |
// Create a new blurred image. | |
var imageToBlur = new CIImage (image); | |
var blur = new CIGaussianBlur (); | |
blur.Image = imageToBlur; | |
blur.Radius = blurRadius; | |