Skip to content

Instantly share code, notes, and snippets.

View matejsemancik's full-sized avatar
🚀

Matej Semančík matejsemancik

🚀
View GitHub Profile
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="#1E86E5"/>
<size android:height="2dp"/>
</shape>
package com.thefuntasty.pitnyrezim.ui.onboarding.chat
import android.view.animation.AlphaAnimation
import android.view.animation.Animation
import android.view.animation.AnimationSet
import android.view.animation.DecelerateInterpolator
import android.view.animation.TranslateAnimation
import androidx.recyclerview.widget.RecyclerView
import androidx.recyclerview.widget.SimpleItemAnimator
@matejsemancik
matejsemancik / cc1101_config.h
Last active April 25, 2019 19:18
CC1101 chip config for mah diploma thesis, duh
// PA table
#define PA_TABLE {0x00,0x60,0x00,0x00,0x00,0x00,0x00,0x00}
// Rf settings for CC1101
static uint8_t CC1101_CONFIG[] = {
0x29, // IOCFG2 GDO2 Output Pin Configuration
0x2E, // IOCFG1 GDO1 Output Pin Configuration
0x06, // IOCFG0 GDO0 Output Pin Configuration
0x47, // FIFOTHR RX FIFO and TX FIFO Thresholds
0xD3, // SYNC1 Sync Word, High Byte
0x91, // SYNC0 Sync Word, Low Byte