Skip to content

Commit

Permalink
Jasmarty 12864 LCD
Browse files Browse the repository at this point in the history
  • Loading branch information
ToWipf committed Jan 1, 2021
1 parent 812cfe4 commit 174af69
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@
</table>
</ng-container>

<button (click)="send()">Senden</button>
<button (click)="send()">Senden</button>

<button (click)="load()">Laden</button>
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,13 @@ export class Jasmarty12864PanelComponent implements OnInit {
});
}

public load(): void {
this.http.get(this.rest.gethost() + 'lcd/12864/getScreen').subscribe((res: any) => {
this.screen = res;
console.log(res);
});
}



}
2 changes: 1 addition & 1 deletion angular-app/src/app/datatypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Injectable } from '@angular/core';

@Injectable()
export class Globals {
version: string = '0.96a';
version: string = '0.100';
}

export interface Jaconfig {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/wipf/jasmarty/logic/base/MainHome.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class MainHome {
TelegramHome tHome;

private static final Logger LOGGER = Logger.getLogger("_MainHome_");
public static final String VERSION = "0.96a";
public static final String VERSION = "0.100";
public static final String DB_PATH = "jasmarty.db";

/**
Expand Down

0 comments on commit 174af69

Please sign in to comment.