From 2877ecef5534bc21ba92023d2fb421d512b711d0 Mon Sep 17 00:00:00 2001 From: Rudis Muiznieks Date: Wed, 15 Jun 2022 12:51:24 -0500 Subject: [PATCH] added license --- LICENSE | 14 ++++++++++++++ slangin.ino | 33 +++------------------------------ 2 files changed, 17 insertions(+), 30 deletions(-) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..ee7d6a5 --- /dev/null +++ b/LICENSE @@ -0,0 +1,14 @@ + DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE + Version 2, December 2004 + + Copyright (C) 2004 Sam Hocevar + + Everyone is permitted to copy and distribute verbatim or modified + copies of this license document, and changing it is allowed as long + as the name is changed. + + DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. You just DO WHAT THE FUCK YOU WANT TO. + diff --git a/slangin.ino b/slangin.ino index 7d5709d..b60b669 100644 --- a/slangin.ino +++ b/slangin.ino @@ -1,51 +1,24 @@ /* -Hello, World! example -June 11, 2015 -Copyright (C) 2015 David Martinez -All rights reserved. -This code is the most basic barebones code for writing a program for Arduboy. - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU Lesser General Public -License as published by the Free Software Foundation; either -version 2.1 of the License, or (at your option) any later version. +Slangin' +Author: Rudis Muiznieks +License: WTFPL */ #include -// make an instance of arduboy used for many functions Arduboy2 arduboy; - -// This function runs once in your game. -// use it for anything that needs to be set only once in your game. void setup() { - // initiate arduboy instance arduboy.begin(); - - // here we set the framerate to 15, we do not need to run at - // default 60 and it saves us battery life arduboy.setFrameRate(15); } - -// our main game loop, this runs once every cycle/frame. -// this is where our game logic goes. void loop() { - // pause render until it's time for the next frame if (!(arduboy.nextFrame())) return; - // first we clear our screen to black arduboy.clear(); - - // we set our cursor 5 pixels to the right and 10 down from the top - // (positions start at 0, 0) arduboy.setCursor(4, 9); - - // then we print to screen what is in the Quotation marks "" arduboy.print(F("Slangin'")); - - // then we finaly we tell the arduboy to display what we just wrote to the display arduboy.display(); }