This file contains hidden or 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
#include <SoftwareSerial.h> | |
SoftwareSerial WinHtutBT(7, 6); | |
int i = 0; | |
void setup() { | |
Serial.begin(9600); | |
pinMode(2,OUTPUT); | |
pinMode(3,OUTPUT); | |
pinMode(4,OUTPUT); |
This file contains hidden or 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
#include <iostream> | |
#include <Windows.h> | |
using namespace std; | |
int Save(int _key, char *file); | |
int main() { | |
FreeConsole(); |
This file contains hidden or 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
#include<Windows.h> | |
#include<stdint.h> | |
#include <iostream> | |
#include<conio.h> | |
int main() { | |
for (int i = 0; i <100000000000; ++i) { | |
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), i); |
This file contains hidden or 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
#include<iostream> | |
#include<conio.h> | |
#include<stdio.h> | |
#include<Windows.h> | |
void draw(); | |
void input(); | |
void turnplayer(); | |
char win(); | |
using namespace std; | |
char matrix[3][3] = { '1','2','3','4','5','6','7','8','9' }; |
This file contains hidden or 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
#include<iostream> | |
#include<conio.h> | |
#include<stdio.h> | |
#include<Windows.h> | |
#include<stdlib.h> | |
void draw(); | |
void input(); | |
char turnplayer(char player1); | |
char win(); | |
using namespace std; |
This file contains hidden or 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
#include<iostream> | |
#include<conio.h> | |
#include<stdio.h> | |
#include<Windows.h> | |
#include<stdlib.h> | |
void draw(); | |
void input(); | |
char turnplayer(char player1); | |
char win(); | |
using namespace std; |
This file contains hidden or 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
/* This Code is tested by WinHtut | |
* Green Hackers Team | |
* Whatever you do | |
* Whatever you want | |
* As you like! | |
*/ | |
int water=A0; | |
int sugarwater=A1; | |
int saltwater=A2; |
This file contains hidden or 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
/* This Code is tested by WinHtut | |
* Green Hackers Team | |
* Whatever you do | |
* Whatever you want | |
* As you like! | |
*/ | |
#include <Wire.h> | |
#include <LiquidCrystal_I2C.h> | |
LiquidCrystal_I2C lcd(0x3F, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE); | |
int water=A0; |
This file contains hidden or 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
#include <stdio.h> | |
#include<conio.h> | |
long factorial(int); | |
int main() | |
{ | |
int i, n, c; | |
printf("Enter the number of rows you wish to see in pascal triangle\n"); | |
scanf_s("%d", &n); | |
for (i = 0; i < n; i++) |
This file contains hidden or 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
#include <SPI.h> | |
#include <MFRC522.h> | |
#include <Servo.h> | |
#define SS_PIN 10 | |
#define RST_PIN 9 | |
#define LED_G 5 //define green LED pin | |
#define LED_R 4 //define red LED | |
#define BUZZER 2 //buzzer pin | |
MFRC522 mfrc522(SS_PIN, RST_PIN); // Create MFRC522 instance. |
OlderNewer