Skip to content

Instantly share code, notes, and snippets.

View rishi-a's full-sized avatar
🎯
Focusing

Rishiraj Adhikary rishi-a

🎯
Focusing
View GitHub Profile
Packet Strength SNR Length Time Distance
-58 9 50 146 0
-65 9 50 146 20
-68 9 50 147 30
-76 9 50 147 64
-82 8 50 147 65
-74 9 50 147 66
-89 3 50 147 67
-72 9 50 147 67
-79 9 50 147 68
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Packet RSSI SNR Packet Length Time Distance
-67 10 50 18/04/19 17:13 0
-73 10 50 18/04/19 17:13 0
-83 7 50 18/04/19 17:13 10
-80 8 50 18/04/19 17:13 18
-86 4 50 18/04/19 17:13 29
-90 0 50 18/04/19 17:13 38
-80 8 50 18/04/19 17:14 50
-93 -2 50 18/04/19 17:14 78
-90 2 50 18/04/19 17:14 84
// Feather9x_TX
// -*- mode: C++ -*-
// Example sketch showing how to create a simple messaging client (transmitter)
// with the RH_RF95 class. RH_RF95 class does not provide for addressing or
// reliability, so you should only use RH_RF95 if you do not need the higher
// level messaging abilities.
// It is designed to work with the other example Feather9x_RX
// Modification done by me (Rishi) so that we can power this module from a battery bank.
#include <SPI.h>
// Feather9x_RX
// -*- mode: C++ -*-
// Example sketch showing how to create a simple messaging client (receiver)
// with the RH_RF95 class. RH_RF95 class does not provide for addressing or
// reliability, so you should only use RH_RF95 if you do not need the higher
// level messaging abilities.
// It is designed to work with the other example Feather9x_TX
#include <SPI.h>
#include <RH_RF95.h>
distance RSSI
60 -79
124 -89
147 -93
167 -93
222 -98
276 -108
318 -112
421 -119
535 -129
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rishi-a
rishi-a / latexify.py
Created September 13, 2019 16:48
LaTeXify Plots For Publication
#Original Author: Prof. Nipun Batra
# nipunbatra.github.io
from math import sqrt
import matplotlib
SPINE_COLOR = 'gray'
def latexify(fig_width=None, fig_height=None, columns=1):
"""Set up matplotlib's RC params for LaTeX plotting.
Call this before plotting a figure.
Parameters
// OS Assignment-1 Copyright@Amit_Kumar Singh Yadav - 16110011
// Question-1 Replicating cat function of UNIX Shell
#include <stdio.h> // for standard input and output- fgets, fclose, fopen
#include <stdlib.h> // for exit
#define BUFFER_SIZE 1000 //Buffer size=1000 characters
int main (int argc, char *argv[]) // argc: number of arguments including first argument as file name itself
{