This file contains 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 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)); |
This file contains 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
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 { |
This file contains 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
<?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" |