IceCube display
LED display to show IceCube event data
hex_geometry.h
Go to the documentation of this file.
1 #ifndef RENDER_HEX_GEOMETRY_H
2 #define RENDER_HEX_GEOMETRY_H
3 
9 #include "stdint.h"
10 
13 
27 uint8_t get_string_distance(uint8_t x, uint8_t y);
28 
32 #define get_string_distance_to_centre(string) get_string_distance((string), 35);
33 
35 
36 #endif
uint8_t get_string_distance(uint8_t x, uint8_t y)
Calculate the distance between strings x and y (zero-indexed)