Skip to content

Instantly share code, notes, and snippets.

Avatar
💾
Hi!

Yitzi G YitziG

💾
Hi!
View GitHub Profile
View infra-temp.java
#include <FastLED.h>
#define NUM_LEDS 10
#define DATA_PIN 2
CRGB leds[NUM_LEDS];
void setup() {
Serial.begin(9600);
FastLED.addLeds<NEOPIXEL, DATA_PIN>(leds, NUM_LEDS);
View MainActivity.java
package com.example.yitzi.mathapp;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.TextView;
import java.text.NumberFormat;
public class MainActivity extends AppCompatActivity {
View MainActivity.java
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.TextView;
public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
@YitziG
YitziG / MainAtivity.java
Created Mar 12, 2018
the xml layout and Java code for our app
View MainAtivity.java
package com.example.yitzi.myapplication;
import android.content.Context;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.view.inputmethod.InputMethodManager;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;