#include <LiquidCrystal.h> // initialize the library with the numbers of the interface pinsLiquidCrystal lcd(12, 11, 5, 4, 3, 2); void setup() {// set up the LCD's number of columns and rows:lcd.begin(16, 2);// Print a message to the LCD.lcd.print("hello, world!");} void loop() {// set the cursor…
Rama Akhil Sri Sai Kumar Srireddy
updated on 16 Mar 2022
Project Details
Leave a comment
Thanks for choosing to leave a comment. Please keep in mind that all the comments are moderated as per our comment policy, and your email will not be published for privacy reasons. Please leave a personal & meaningful conversation.
Other comments...
Read more Projects by Rama Akhil Sri Sai Kumar Srireddy (6)
Project 1 - V&V SW Analysis - I
if( manufacturer switch on the phone) { (Company logo at the center of the screen) } else if(customer switch on the phone) { (All my icons of the APPS shall be present in the grid) } else if( manufacturer powered on the phone) { (the "call the phone" icon is the first icon…
26 Mar 2022 03:44 AM IST
Project 2 - V&V SW Analysis II
1: #ifndef FILE#include <stdio.h>#endif #ifndef FALSE#define FALSE 0#define TRUE 1#endif /* * this define determines if we are using stubs - * set to 0 for stubs or 1 for no stubs */#define no_stubs 1 /* * this define determines the interface to use * set to 1 for original interface or 0 for changed interface */#define…
26 Mar 2022 03:38 AM IST
Project 2 - Implement the Code for controlling the retraction and extension of Airplane’s landing gear
#include<stdio.h> static volatile int pressure; static volatile int output; void Init_Landing _gear() { pressure = 0; output = 0; printf("Landing_gear is initialized and program is in state_A & value of output is %d\n", ouput);…
17 Mar 2022 05:15 AM IST
Project 1 - Interfacing a 16*2 LCD with Arduino using I2C protocol
#include <LiquidCrystal.h> // initialize the library with the numbers of the interface pinsLiquidCrystal lcd(12, 11, 5, 4, 3, 2); void setup() {// set up the LCD's number of columns and rows:lcd.begin(16, 2);// Print a message to the LCD.lcd.print("hello, world!");} void loop() {// set the cursor…
16 Mar 2022 12:33 PM IST
Project 2 - Measuring the distance of an object using ultrasonic sensor and also smoothen the sensor data using moving average filter
#define WINDOW_SIZE 5int INDEX = 0;int VALUE = 0;int IN_PIN= 7;int SUM = 0;int READINGS[WINDOW_SIZE];int AVERAGED = 0; void setup() {pinMode(IN_PIN, INPUT);Serial.begin(9600);} void loop() {SUM = SUM - READINGS[INDEX]; // Remove the oldest entry from the sumVALUE = analogRead(IN_PIN); // Read the next sensor…
14 Mar 2022 10:49 AM IST
Project 1 - Creation of user defined data type to implement the user interfaces for working with ‘Set’ (Mathematical Set theory)
#include <stdbool.h>#include <stdio.h>#include <stdlib.h> // Link list nodestruct Node{int data;struct Node* next;}; /* A utility function to insert anode at the beginning ofa linked list*/void push(struct Node** head_ref,int new_data); /* A utility function to check ifgiven data is present in a list…
04 Mar 2022 01:15 PM IST