Skip to content

Instantly share code, notes, and snippets.

View bens-unit01's full-sized avatar

bens-unit01

View GitHub Profile
public class TestTemperature {
public static void run() {
System.out.println(" input:1 " + convertCountToCelsiusTempAnalogic(-11));
System.out.println(" input:2 " + convertCountToCelsiusTempAnalogic(2));
System.out.println(" input:3 " + convertCountToCelsiusTempAnalogic(3));
System.out.println(" input:70 " + convertCountToCelsiusTempAnalogic(70));
System.out.println(" input:71 " + convertCountToCelsiusTempAnalogic(71));
System.out.println(" input:72 " + convertCountToCelsiusTempAnalogic(72));
System.out.println(" input:2369 " + convertCountToCelsiusTempAnalogic(2385));
System.out.println(" input:1958 " + convertCountToCelsiusTempAnalogic(1958));
package com.pratiques.lecture;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.InputMismatchException;
import java.util.Scanner;
import java.util.concurrent.TimeUnit;
public class TestMisc01 {
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android">
<scale android:fromXScale="100%p"
android:toXScale="80%p"
android:fromYScale="100%p"
android:toYScale="80%p"
android:pivotX="50%p"
android:pivotY="50%p"