Skip to content

Instantly share code, notes, and snippets.

View galennare's full-sized avatar

Galen Nare galennare

View GitHub Profile
@DomenicP
DomenicP / EncoderExample.java
Created October 31, 2013 16:03
Simple example of a FRC robot program that drives a robot with encoders during autonomous.
/*----------------------------------------------------------------------------*/
/* Copyright (c) FIRST 2008. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of */
/* the project. */
/*----------------------------------------------------------------------------*/
package org.lunatecs316.frc;
import edu.wpi.first.wpilibj.CounterBase.EncodingType;
@BrandonSmith
BrandonSmith / AndroidManifest.xml
Last active July 19, 2023 19:11
Quick example of how to schedule a notification in the future using AlarmManager
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.cards.notification">
<uses-sdk
android:minSdkVersion="17"
android:targetSdkVersion="17" />
<application
android:allowBackup="true"