Skip to content

Instantly share code, notes, and snippets.

@wi1k1n
wi1k1n / mouse_pos_show.ahk
Last active April 19, 2024 16:16
AutoHotKey: Mouse Position Helper. Simply run the script and it will show the current cursor coordinates in different CoordModes. Hotkey Strokes are also available to quickly copy current coordinates
#Persistent
CoordMode, ToolTip, screen
SetTimer, WatchCursor, 100
return
WatchCursor:
CoordMode, mouse, Screen ; Coordinates are relative to the desktop (entire screen).
MouseGetPos, x_1, y_1, id_1, control_1
CoordMode, mouse, Window ; Synonymous with Relative and recommended for clarity.
@wi1k1n
wi1k1n / eeprom_explorer.ino
Last active October 28, 2020 02:32
EEPROM Explorer sketch. Easily check and modify the content of the EEPROM in Arduino
#include <EEPROM.h>
#define ARGBUFFERLENGTH 2
char buf[8];
int args[ARGBUFFERLENGTH];
uint8_t mode = '0'; // '?' - show, '>' - edit
void setup() {
Serial.begin(9600);