Skip to content

Instantly share code, notes, and snippets.

NapapornSantong

Block or report user

Report or block NapapornSantong

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Activity_main1.xml
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"
android:layout_height="match_parent" android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
android:paddingBottom="@dimen/activity_vertical_margin" tools:context=".MainActivity">
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
View Activity_main.xml
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"
android:layout_height="match_parent" android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
android:paddingBottom="@dimen/activity_vertical_margin" tools:context=".MainActivity">
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
View AndroidManifest.xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.napaporn.koiapplication" >
<uses-sdk
android:minSdkVersion="12"
android:targetSdkVersion="18" />
<uses-permission android:name="android.permission.INTERNET" />
<application
View MainActivity1.java
package com.example.napaporn.koiapplication;
import android.support.v7.app.ActionBarActivity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.webkit.WebView;
import android.webkit.WebViewClient;
View MainActivity.java
package com.example.napaporn.koiapplication;
import android.support.v7.app.ActionBarActivity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.webkit.WebView;
import android.webkit.WebViewClient;
View Color of Life1.ino
#include <NeoPixelBus.h>
#define pixelCount 1
#define colorSaturation 128
NeoPixelBus strip = NeoPixelBus(pixelCount, 5);
RgbColor red = RgbColor(255);
RgbColor Low = RgbColor(0, 0, 0);
void setup() {
// put your setup code here, to run once:
pinMode(4,INPUT);
View Color of Life.ino
#include <NeoPixelBus.h>
#define pixelCount 1
#define colorSaturation 128
NeoPixelBus strip = NeoPixelBus(pixelCount, 5);
RgbColor Sumcolor = RgbColor(255); //กำหนดค่าสี RGB
RgbColor Low = RgbColor(0, 0, 0);
// Libraries
#include <ESP8266WiFi.h>
You can’t perform that action at this time.