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
2022-08-05T06:36:07.865Z ciao:init Loading ciao v1.1.5... | |
2022-08-05T06:36:07.966Z HAP-NodeJS:Advertiser Initializing HAP-NodeJS v0.10.2 ... | |
[8/5/2022, 8:36:08 AM] Loaded config.json with 0 accessories and 2 platforms. | |
[8/5/2022, 8:36:08 AM] Loaded 4 cached accessories from cachedAccessories. | |
[8/5/2022, 8:36:08 AM] --- | |
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead. | |
[8/5/2022, 8:36:08 AM] Loaded plugin: homebridge-config-ui-x@4.50.0 | |
[8/5/2022, 8:36:08 AM] Registering platform 'homebridge-config-ui-x.config' | |
[8/5/2022, 8:36:08 AM] --- | |
[8/5/2022, 8:36:08 AM] Loaded plugin: homebridge-nest-cam@7.5.2 |
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 08000h | |
ld hl, 08000h ; this memory area | |
call Memory_GetSlot | |
call GET_SLTWRK_FOR_SLOT | |
; retrieve pointer from SLTWRK area | |
ld e,(hl) | |
inc hl | |
ld d,(hl) | |
; do something with it |
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
#include "wiring.h" | |
#include "ch376s.h" | |
#include "device.h" | |
#include <stdio.h> | |
#include <string.h> | |
#include "descriptors.h" | |
uint8_t oneOneByte[1] = {1}; | |
uint8_t oneZeroByte[1] = {0}; | |
uint8_t twoZeroBytes[2] = {0,0}; |