If I correct that, I can use the library as normal
[env:genericSTM32F103C8]
platform = ststm32
board = genericSTM32F103C8
framework = arduino
lib_deps =
https://github.com/brunolnetto/einstein.git
#include <Arduino.h>
#include <converters/fundamental.h>
void setup(){
Serial.begin(115200);
}
void loop() {
DivisionResult res = min2h(122);
Serial.println("res = " + String((unsigned long)res.quocient) + "h, remainer " + String((unsigned long)res.remainder) + " minutes");
delay(500);
}