aboutsummaryrefslogtreecommitdiffstats
path: root/website/index.html
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2020-08-27 18:53:49 +0200
committerMatthias Andree <matthias.andree@gmx.de>2020-08-27 19:07:43 +0200
commite4484beae72aea7f9cc175593930b58f7478adf7 (patch)
treeb2d3c62050aab03d423ddbe2e244fb3640e1fb97 /website/index.html
parent3fecc42a91f74c196ae9dee5d5e6b92d2a63aceb (diff)
downloadfetchmail-e4484beae72aea7f9cc175593930b58f7478adf7.tar.gz
fetchmail-e4484beae72aea7f9cc175593930b58f7478adf7.tar.bz2
fetchmail-e4484beae72aea7f9cc175593930b58f7478adf7.zip
Bump version to 6.4.9
Diffstat (limited to 'website/index.html')
0 files changed, 0 insertions, 0 deletions
or: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
#include <avr/io.h>
#include "uart.h"

int main(void)
{
    /* serial */
    uart_init();

    /* D4 = output and high (=> atx down) */
    PORTD |= 0x10;
    DDRD  |= 0x10;

    for (;;)
    {
        switch(uart_getchar()) {
            case '?': break; /* useful for auto documentation */
            case '0': PORTD |=  0x10; break;
            case '1': PORTD &= ~0x10; break;
            case 'T': PORTD ^=  0x10; break;
        }
        uart_putchar((PORTD & 0x10) ? '0' : '1');
    }

    return 0;
}