Skip to content

Instantly share code, notes, and snippets.

View pancurster's full-sized avatar

Łukasz Panek pancurster

View GitHub Profile
@pancurster
pancurster / Pola_crosspointy.c
Created March 3, 2012 10:24
Przykładowe użycie pól bitowych do sterowania crosspointami
#include <stdio.h>
#include <malloc.h>
#define uint8_t (unsigned char)
int main (int argc, char const* argv[])
{
typedef struct _cross_setting {
unsigned char IN0:2;
unsigned char IN1:2;
unsigned char IN2:2;