Notes
Notes - notes.io |
byte g_ubTeken1 = 0b00000110;
byte g_ubTeken2 = 0b01011011;
byte g_ubTeken3 = 0b01001111;
byte g_ubTeken4 = 0b01100110;
byte g_ubTeken5 = 0b01101101;
byte g_ubTeken6 = 0b01111101;
byte g_ubTeken7 = 0b00000111;
byte g_ubTeken8 = 0b01111111;
byte g_ubTeken9 = 0b01101111;
void voSchrijfCijfer(byte a_ubCijfer, byte a_ubDisplayNR)
{
g_ubDisplayAdres = g_ubEersteAdres + (a_ubDisplayNR - 1) * 2;
digitalWrite(g_ubStrobe, LOW);
shiftOut(g_ubData, g_ubClock, LSBFIRST, g_ubDisplayAdres);
if (a_ubCijfer == 0)
{
a_ubCijfer = a_ubCijfer | g_ubTeken0 ;
}
if (a_ubCijfer == 1)
{
a_ubCijfer = a_ubCijfer | g_ubTeken1 ;
}
if (a_ubCijfer == 2)
{
a_ubCijfer = a_ubCijfer | g_ubTeken2 ;
}
if (a_ubCijfer == 3)
{
a_ubCijfer = a_ubCijfer | g_ubTeken3 ;
}
if (a_ubCijfer == 4)
{
a_ubCijfer = a_ubCijfer | g_ubTeken4 ;
}
if (a_ubCijfer == 5)
{
a_ubCijfer = a_ubCijfer | g_ubTeken5 ;
}
if (a_ubCijfer == 6)
{
a_ubCijfer = a_ubCijfer | g_ubTeken6 ;
}
if (a_ubCijfer == 7)
{
a_ubCijfer = a_ubCijfer | g_ubTeken7;
}
if (a_ubCijfer == 8)
{
a_ubCijfer = a_ubCijfer | g_ubTeken8;
}
if (a_ubCijfer == 9)
{
a_ubCijfer = a_ubCijfer | g_ubTeken9 ;
}
shiftOut(g_ubData, g_ubClock, LSBFIRST, a_ubCijfer);
digitalWrite(g_ubStrobe, HIGH);
}
|
Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...
With notes.io;
- * You can take a note from anywhere and any device with internet connection.
- * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
- * You can quickly share your contents without website, blog and e-mail.
- * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
- * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.
Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.
Easy: Notes.io doesn’t require installation. Just write and share note!
Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )
Free: Notes.io works for 12 years and has been free since the day it was started.
You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;
Email: [email protected]
Twitter: http://twitter.com/notesio
Instagram: http://instagram.com/notes.io
Facebook: http://facebook.com/notesio
Regards;
Notes.io Team