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

21 lines
402 B

/**
* Radiation counting
*/
#ifndef CPROJ_RADIATION_H
#define CPROJ_RADIATION_H
#include <stdbool.h>
#include <stdint.h>
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);
#endif //CPROJ_RADIATION_H