This file contains 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
org 000h | |
mov sp,#7Fh | |
ljmp Init | |
org 00Bh | |
push psw | |
cjne r6,#11111111b,nietvol ;als r6 = 255 r7 verhogen en r6 verhogen (255 + 1 --> 0) | |
inc r7 | |
nietvol: | |
inc r6 |
This file contains 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
org 000h | |
mov sp,#7Fh | |
ljmp Init | |
org 00Bh | |
push psw | |
cjne r6,#11111111b,nietvol ;als r6 = 255 r7 verhogen en r6 verhogen (255 + 1 --> 0) | |
inc r7 | |
nietvol: | |
inc r6 |
This file contains 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
org 000h | |
mov sp,#7Fh | |
ljmp Init | |
org 00Bh | |
push psw | |
cjne r6,#11111111b,nietvol ;als r6 = 255 r7 verhogen en r6 verhogen (255 + 1 --> 0) | |
inc r7 | |
nietvol: | |
inc r6 |
This file contains 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
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
;Dries Darquennes & Matthias Van Gestel & Dries Goossens | |
;Lessius Campus Denayer - 1PBEII | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
;OPMERKINGEN: | |
; ! Steunt op de xcez1.inc file (c) van Marc Roggemans | |
; ! Deze file moet ge-include worden BOVEN de xcez1.inc file | |
; ! Dit is gemaakt door lln in het eerste jaar die nog nooit | |
; assembly gebruikt hebben, gebruik van deze file is niet aan te raden | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
This file contains 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
org 000h | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
;tempomzetting: | |
; zet de temperatuur om in graden celcius tot 1 getal na de komma | |
; bits worden juist gezet | |
; verschil gemaakt tussen max waarde en gemeten waarde | |
; omzetting van kelvin naar graden celcius | |
; output is in bcd, r2,r1,r0 =24 bit bcd getal (r2=msb) | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
lcall initlcd |
This file contains 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
;START | |
org 000h | |
mov sp,#7Fh ;stackpointer | |
;INITS | |
lcall initlcd ;lcd klaarzetten voor gebruik | |
lcall initsio ;seriele communicatie | |
lcall initleds ;leds als output | |
;Bodycode | |
mov dptr,#Initialisatie ;adress bericht in dptr | |
lcall siooutmsga ;berichtje tonen |
This file contains 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
;START | |
org 000h | |
mov sp,#7Fh ;stackpointer | |
;INITS | |
lcall initlcd ;lcd klaarzetten voor gebruik | |
lcall initsio ;seriele communicatie | |
lcall initleds ;leds als output | |
;Bodycode | |
mov dptr,#Initialisatie ;adress bericht in dptr | |
lcall siooutmsga ;berichtje tonen |
This file contains 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
//MASTERBMPDECODER | |
//receives colors in 16 bit format and send them to the touchscreen | |
//i²c master | |
#include <Wire.h> | |
#include <TFT.h> | |
#define SLAVE 0x02 | |
#define YP A2 // must be an analog pin, use "An" notation! | |
#define XM A1 // must be an analog pin, use "An" notation! |
This file contains 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
//MASTER BMP DECODER | |
//Requests data from slave (2bytes) | |
#include <Wire.h> | |
#include <TFT.h> | |
#define SLAVE 0x02 | |
#define YP A2 // must be an analog pin, use "An" notation! | |
#define XM A1 // must be an analog pin, use "An" notation! | |
#define YM 14 // can be a digital pin, this is A0 |
This file contains 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
#!/usr/bin/python | |
from gi.repository import Gtk, GdkPixbuf, Gdk | |
class MainWindow(Gtk.Window): | |
def __init__(self): | |
Gtk.Window.__init__(self,title = "Arduino Image Converter") | |
#------LAYOUT TABLE | |
table = Gtk.Table(20,3,False) | |
table.set_col_spacing(0,6) | |
table.set_col_spacing(1,6) |
OlderNewer