<commit_before>#ifndef Switch_h
#define Switch_h

#include "Arduino.h"

class Switch {
public:
            Switch(int pin);
private:
    int     _pin;
}

#endif
<commit_msg>updated switch header to reflect code<commit_after>#ifndef Switch_h
#define Switch_h

#include "Arduino.h"
#include <Servo.h>

class Switch {
public:
            Switch(int pin);
    void    on();
    void    off();
    bool    state();
    void    set(bool state);
private:
    Servo   _servo;
}

#endif

{'fraction_non_alphanumeric': 0.1087866108786611, 'fraction_numerical': 0.0, 'mean_word_length': 2.8015873015873014, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '6180090', 'n_tokens_mistral': 168, 'n_tokens_neox': 165, 'n_words': 46}