Skip to content

Instantly share code, notes, and snippets.

View OwiseKyawMinOo's full-sized avatar

owise kyaw min oo OwiseKyawMinOo

View GitHub Profile
#include <SoftwareSerial.h>
SoftwareSerial SIM900A(10,11);
void setup()
{
SIM900A.begin(9600); // the baud rate of GSM Module
Serial.begin(9600); // the baud rate of Serial Monitor (Arduino)
Serial.println ("SIM900A Ready");
}
#include <Adafruit_Fingerprint.h>
#include <SoftwareSerial.h>
SoftwareSerial mySerial(2, 3);
#include<LiquidCrystal.h>
LiquidCrystal lcd={A0,A1,A2,A3,A4,A5};
Adafruit_Fingerprint finger = Adafruit_Fingerprint(&mySerial);
int r=8,r1=9;
int buzzer=10;
void setup()
{
#include<Servo.h>
#include<LiquidCrystal.h>
LiquidCrystal lcd={A0,A1,A2,A3,A4,A5};
Servo myservo1;
Servo myservo2;
Servo myservo3;
Servo myservo4;
#define S0 8
#define S1 9
#define S2 10
#include<stdio.h>
#include<conio.h>
#include<stdlib.h>
#include<process.h>
#include<time.h>
int diamond(int x, int y, char ch);
void delay(unsigned int mseconds);
/////Owise Kyaw Min Oo/////
///////////////////////////
#include<iostream>
#include<conio.h>
#include<iomanip> //for setw
using namespace std;
// structure declare
% Project 10
% Owise Kyaw Min Oo
key=5;
while key<20
fprintf('number of key %d \n',key);
key=key+1;
if key < 10
continue;
% Project 8
% Owise Kyaw Min Oo
x=2011:2015;
y=[2979 200;2600 212;2500 178;2678 298;2000 167];
bar(x,y)
xlabel('Years')
ylabel('Students and Teachers')
title('TU Mawlamyine Students and Teachers List')
% Project 7
% Owise Kyaw Min Oo]
x=2010:2017;
y=[2970 2900 2771 2500 2673 2534 2300 2022];
plot(x,y)
grid on
xlabel('Years')
ylabel('Students ')
title('TU Mawlamyine Students')
>> % Project 2
>> % Owise Kyaw Min Oo
>>
>> x=0:4;
>> y=5:5:25;
>> z=[x y]
z =
0 1 2 3 4 5 10 15 20 25
>> % Project 1
>> % Owise Kyaw Min Oo
>>
>> Temperature=input('Enter temperature range : ');%for user input
Enter temperature range : 35.2
>> disp(Temperature);%printing text or matrics
35.2000
>> disp('Temperature');
Temperature