Add Magnetic card emulation for C-Netz

Emulation can be done with a coil connected to sound card.

Alternatively an Attiny85 can be used to control a coil.
This commit is contained in:
Andreas Eversberg
2021-08-28 20:59:20 +02:00
parent 922b4af362
commit 465445aac5
22 changed files with 16899 additions and 0 deletions

32
src/magnetic/image.c Normal file
View File

@@ -0,0 +1,32 @@
#ifndef ARDUINO
#include <stdio.h>
const char *aaimage[] = {
"@w",
" @r___@g___",
" @WC-Netz @r/ _@g_ \\",
" @WMagnetstreifen- @r/ / @g \\ \\",
" @WEmulator @r/ / @g \\ \\",
" @r\\ \\ @g / /",
" @B ________________________@r\\ \\@B__@g/ /@B____________",
" @B|@y_________________________@r\\ \\@g/ /@y_____________@B|",
" @B|@y / / / / / / / / / / / / /@r\\_|@g|_/@y / / / / / / /@B|",
" @B|@y / / / / / / / / / / / / / / / / / / / / / / /@B|",
" @B|@y______________________________________________@B|",
" @B| |",
" @B| @w ____ ____ @B|",
" @B| @w/ \\ / \\ @B|",
" @B| @w\\____/ \\____/ @B|",
" @B| @w|----^ |----^ Die Servicenummer @B|",
" @B| @w . / \\ @B|",
" @B| @w|---\\| \\_/\\_/ rund um die Uhr -----\\ @B|",
" @B| @w ' / \\ @B/ \\ @w\\ @B|",
" @B| @w|----^ \\____/ @B\\ / @w/ @B|",
" @B| @w -----/ @B|",
" @B|______________________________________________|",
"",
NULL
};
#endif /* ARDUINO */