This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {"comment":"Mock-up arrays for 24h Wordclock, see http://www.mikrocontroller.net/articles/WordClock24h", | |
| "version":"Data from WC24h_18x16_V2_2010_2003_15_Dez_2014, CodeGen v0.02", | |
| "columnsCount":18, | |
| "rowsCount":16, | |
| "display":[ | |
| "ES#IST#VIERTELEINS", | |
| "DREINERSECHSIEBEN#", | |
| "ELFÜNFNEUNVIERACHT", | |
| "NULLZWEI#ZWÖLFZEHN", | |
| "UND#ZWANZIGVIERZIG", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Word-Arrays for 24h Wordclock, see http://www.mikrocontroller.net/articles/WordClock24h | |
| // Von-Neumann-Variant, Data from Wc24h1816_1833,16.Mai15-ACHT-VIER CodeGen v0.15 | |
| // Code-Generator see https://gist.github.com/TorstenC/aec0724be4afcd1d7545 | |
| // tbl_modes[MODES_COUNT]: 1152 bytes | |
| // tbl_hours[HOUR_MODES_COUNT][HOUR_COUNT][MAX_HOUR_WORDS]: 800 bytes | |
| // tbl_minutes[MINUTE_MODES_COUNT][MINUTE_COUNT]: 5280 bytes | |
| // illumination[1][WP_COUNT]: 231 bytes | |
| // total (tbl_minutes + tbl_hours + tbl_modes + illumination): 7463 bytes | |
| #ifndef TABLES_H |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Word-Arrays for 24h Wordclock, see http://www.mikrocontroller.net/articles/WordClock24h | |
| // Von-Neumann-Variant, Data from Wc24h1816_1833,16.Mai15-ACHT-VIER, CodeGen v0.15 | |
| // Code-Generator see https://gist.github.com/TorstenC/aec0724be4afcd1d7545 | |
| #include "tables.h" | |
| const struct Modes tbl_modes[MODES_COUNT] = { | |
| { MM_8, HM_5, "ES IST HH UHR MM (12)" }, | |
| { MM_8, HM_6, "ES IST HH UHR MM (24)" }, | |
| { MM_9, HM_5, "ES IST HH UHR UND MM MINUTEN (12)" }, | |
| { MM_9, HM_6, "ES IST HH UHR UND MM MINUTEN (24)" }, | |
| { MM_2, HM_3, "ES IST MM MINUTEN NACH HH UHR (12) NACHTS" }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // STM8S103F3P6 Hardware module see https://github.com/TorstenC/Notizblog/wiki/Mikrocontroller | |
| #include <stm8s.h> | |
| volatile uint32_t counter = 10; | |
| int main( void ) { | |
| GPIO_Init(GPIOD, GPIO_PIN_3, GPIO_MODE_OUT_PP_LOW_FAST); | |
| GPIO_Init(GPIOB, GPIO_PIN_5, GPIO_MODE_OUT_PP_HIGH_FAST); | |
| while (1) { | |
| while (counter) counter--; | |
| GPIO_WriteHigh(GPIOD, GPIO_PIN_3); | |
| GPIO_WriteLow(GPIOB, GPIO_PIN_5); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* RF_24_Remote01.c | |
| * Created: 31.08.2016 21:41:47 | |
| * Author : Torsten C | |
| */ | |
| #define F_CPU 800000UL // 3,3V-CPU läuft an 8MHz-Quarz | |
| #include "MyAvrIO.h" // z.B. PORTB, DDRB, SPCR_SPE, uint8_t, … | |
| #include <string.h> // z.B. memcpy() | |
| #include <stdio.h> // z.B. printf(), benötigt stdout (siehe am Ende) | |
| // ToDo: Ausgabe auf Smartphone mit | |
| // https://www.mikrocontroller.net/articles/MCURSES |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class NotifyBase : System.ComponentModel.INotifyPropertyChanged { | |
| protected void OnPropertyChanged([System.Runtime.CompilerServices.CallerMemberName] string propertyName = null) { | |
| PropertyChanged?.Invoke(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); | |
| } | |
| public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; | |
| protected bool SetField<T>(ref T field, T value, [System.Runtime.CompilerServices.CallerMemberName] string propertyName = null) { | |
| if(EqualityComparer<T>.Default.Equals(field, value)) return false; | |
| field = value; | |
| OnPropertyChanged(propertyName); | |
| return true; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="utf-8"?> | |
| <kml xmlns="http://www.opengis.net/kml/2.2"> | |
| <Document> | |
| <name>Name</name> | |
| <description><![CDATA[Description]]></description> | |
| <Folder> | |
| <name>4VbDHQ</name> | |
| <Placemark> | |
| <name>Original</name> | |
| <styleUrl>#line-777777-5-nodesc</styleUrl> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| namespace stackoverflow.q43421070 { | |
| class stackoverflow<T> { | |
| T Result; | |
| void ZollIsNotCustomsDuty() { | |
| Result = // default(T); | |
| } | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using Microsoft.VisualStudio.TestTools.UnitTesting; | |
| using System.IO; | |
| using System.Security.Cryptography; | |
| using System.Diagnostics; | |
| using System.Collections.Generic; | |
| using System.Threading.Tasks; | |
| namespace ConceptTest { | |
| [TestClass] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "name": "7 + 7 split v02", | |
| "author": "ToC", | |
| "notes": "https://cdn.discordapp.com/attachments/833450036825948203/833450708917289024/7--7-split-v02.png" | |
| }, | |
| [ | |
| { | |
| "x": 3.5, | |
| "t": "#000000\n\n#0000FF", | |
| "f": 4, |