Temperature and Humidity Controller for Egg hatching

Leave a comment

http://arduino-info.wikispaces.com/LCD-Blue-I2C /* YourDuino.com Example Software Sketch 16 character 2 line I2C Display Backpack Interface labelled “A0 A1 A2” at lower right. ..and Backpack Interface labelled “YwRobot Arduino LCM1602 IIC V1” MOST use address 0x27, a FEW use 0x3F terry@yourduino.com */ /*—–( Import needed libraries )—–*/ #include <Wire.h> // Comes with Arduino IDE #include <LCD.h> #include … Continued

Creating a tableLayout dynamically in Android

Leave a comment

Creating layouts using xml is easy. But creating layouts in runtime is the only option sometimes… TableLayout tableLayout = (TableLayout) findViewById(R.id.layoutTable);         LinearLayout.LayoutParams tableRowParams = new LinearLayout.LayoutParams(                 LinearLayout.LayoutParams.MATCH_PARENT,                 LinearLayout.LayoutParams.WRAP_CONTENT);         /* create a … Continued