Skip to content

Instantly share code, notes, and snippets.

View jagannath-sahoo's full-sized avatar

JAGANNATH SAHOO jagannath-sahoo

View GitHub Profile
//include appropriate headers
//
//
#include<linux/init.h>
#include<linux/module.h>
#include<linux/kernel.h>
#include<linux/proc_fs.h>
#include<linux/slab.h>
#include<linux/seq_file.h>
@jagannath-sahoo
jagannath-sahoo / BugCode.c
Created April 30, 2019 12:34
IRQ Handler
#include<LPC17xx.h>
//void uart_init();
char data;
char data1[] = "Hiiiii";
char *p = data1;
//char x = 'A';
//int i;
@jagannath-sahoo
jagannath-sahoo / ADC-Polling.c
Created April 29, 2019 11:56
LPC 2148 ADC Polling
#include <LPC214x.h>
#include <stdio.h>
#include <string.h>
/***************************************************/
/*****************UART******************************/
/*
Initialize UART
param: None
return: void
#include <LPC214x.h>
/*
Initialize Timer
*/
void initTimer(void);
desd@desd-OptiPlex-5050:~/Documents/carla/carla$ ./CarlaUE4.sh
Increasing per-process limit of core file size to infinity.
LogConsoleResponse: Display: Failed to find resolution value strings in scalability ini. Falling back to default.
LogPakFile: Registered encryption key '00000000000000000000000000000000': 0 pak files mounted, 0 remain pending
LogPlatformFile: Using cached read wrapper
LogTaskGraph: Started task graph with 5 named threads and 14 total threads with 3 sets of task threads.
LogStats: Stats thread started at 16.129618
LogICUInternationalization: ICU TimeZone Detection - Raw Offset: +5:30, Platform Override: ''
LogPluginManager: Mounting plugin LauncherChunkInstaller
LogPluginManager: Mounting plugin DatasmithContent
package com.Jagannath.in;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.Iterator;
class Student{
private String Name;
************************************
Note: Important
If you are geting error like "java.lang.charsequence cannot be resolved"
then it's the issue with the Eclispe as we are currently using older version of
please update to latest version of it.
Eclise indigo support max upto 1.7 but we are writting our code for JDK 1.8. So even you
change the compiler version it will through error.
So Some of the methods() won't work.
*************************************
************************************
@jagannath-sahoo
jagannath-sahoo / WifiTest.ino
Created April 16, 2019 02:42
Get Verify whether your ESP32 is connected or not
#include <WiFi.h>
const char* ssid = "ACTS-AP2";
const char* password = "";
void setup() {
Serial.begin(115200);
delay(4000);