You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
atmega-geiger/src/radiation.h

22 lines
402 B

2 years ago
/**
* Radiation counting
*/
#ifndef CPROJ_RADIATION_H
#define CPROJ_RADIATION_H
#include <stdbool.h>
#include <stdint.h>
2 years ago
void init_radiation();
/// get progress 0-100, 100 = normal radiation resumed
uint8_t rad_get_progress();
uint16_t rad_get_cpm();
/// Get current radiation dose rate u uSv/h, x10 (one decimal place)
uint16_t rad_get_usvh(uint8_t *out_decimals);
2 years ago
#endif //CPROJ_RADIATION_H