<commit_before>// HeaterMeter Copyright 2011 <NAME> <<EMAIL>> 
#ifndef __STRINGS_H__
#define __STRINGS_H__

#include <HardwareSerial.h>
#include <avr/pgmspace.h>

//const unsigned char LCD_ARROWUP[] PROGMEM = { 0x4,0xe,0x1f,0x00,0x00,0x4,0xe,0x1f };
//const unsigned char LCD_ARROWDN[] PROGMEM = { 0x1f,0xe,0x4,0x00,0x00,0x1f,0xe,0x4 };

#define CSV_DELIMITER ","

#define DEGREE_SYMBOL "\xdf" // \xdf is the degree symbol on the Hitachi HD44780

#define FAHRENHEIT 0
#define CELCIUS    1
#define DEGREE_UNITS FAHRENHEIT

#if DEGREE_UNITS == FAHRENHEIT
#define DEGREE DEGREE_SYMBOL "F"
#else
#define DEGREE DEGREE_SYMBOL "C"
#endif

const char LCD_LINE1_UNPLUGGED[] PROGMEM = "- No Pit Probe -";
const char HM_VERSION[] PROGMEM = "201202070";

inline void Serial_char(char c) { Serial.write(c); }
inline void Serial_nl(void) { Serial_char('\n'); }
inline void Serial_csv(void) { Serial_char(CSV_DELIMITER[0]); }
inline void print_P(const prog_char *s) {  while (unsigned char c = pgm_read_byte(s++)) Serial_char(c); }

#endif /* __STRINGS_H__ */<commit_msg>[hm] UCID 201202140<commit_after>// HeaterMeter Copyright 2011 <NAME> <<EMAIL>> 
#ifndef __STRINGS_H__
#define __STRINGS_H__

#include <HardwareSerial.h>
#include <avr/pgmspace.h>

//const unsigned char LCD_ARROWUP[] PROGMEM = { 0x4,0xe,0x1f,0x00,0x00,0x4,0xe,0x1f };
//const unsigned char LCD_ARROWDN[] PROGMEM = { 0x1f,0xe,0x4,0x00,0x00,0x1f,0xe,0x4 };

#define CSV_DELIMITER ","

#define DEGREE_SYMBOL "\xdf" // \xdf is the degree symbol on the Hitachi HD44780

#define FAHRENHEIT 0
#define CELCIUS    1
#define DEGREE_UNITS FAHRENHEIT

#if DEGREE_UNITS == FAHRENHEIT
#define DEGREE DEGREE_SYMBOL "F"
#else
#define DEGREE DEGREE_SYMBOL "C"
#endif

const char LCD_LINE1_UNPLUGGED[] PROGMEM = "- No Pit Probe -";
const char HM_VERSION[] PROGMEM = "201202140";

inline void Serial_char(char c) { Serial.write(c); }
inline void Serial_nl(void) { Serial_char('\n'); }
inline void Serial_csv(void) { Serial_char(CSV_DELIMITER[0]); }
inline void print_P(const prog_char *s) {  while (unsigned char c = pgm_read_byte(s++)) Serial_char(c); }

#endif /* __STRINGS_H__ */
{'fraction_non_alphanumeric': 0.1311320754716981, 'fraction_numerical': 0.05518867924528302, 'mean_word_length': 5.733333333333333, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5298085', 'n_tokens_mistral': 948, 'n_tokens_neox': 878, 'n_words': 202}