<commit_before>
#ifndef __PN532_I2C_H__
#define __PN532_I2C_H__

#include "PN532Interface.h"

class PN532_I2C : public PN532Interface {
public:
    PN532_I2C(TwoWire &wire);
    
    void begin();
    void wakeup();
    virtual int8_t writeCommand(const uint8_t *header, uint8_t hlen, const uint8_t *body = 0, uint8_t blen = 0);
    int16_t readResponse(uint8_t buf[], uint8_t len, uint16_t timeout);
    
private:
    TwoWire* _wire;
    uint8_t command;
    
    int8_t readAckFrame();
    
    inline uint8_t write(uint8_t data) {
        #if ARDUINO >= 100
            return _wire->write(data);
        #else
            return _wire->send(data);
        #endif
    }
    
    inline uint8_t read() {
        #if ARDUINO >= 100
            return _wire->read();
        #else
            return _wire->receive();
        #endif
    }
};

#endif
<commit_msg>rename included  files as per spark.json<commit_after>
#ifndef __PN532_I2C_H__
#define __PN532_I2C_H__

#include "pn532_i2c_particle/PN532Interface.h"

class PN532_I2C : public PN532Interface {
public:
    PN532_I2C(TwoWire &wire);
    
    void begin();
    void wakeup();
    virtual int8_t writeCommand(const uint8_t *header, uint8_t hlen, const uint8_t *body = 0, uint8_t blen = 0);
    int16_t readResponse(uint8_t buf[], uint8_t len, uint16_t timeout);
    
private:
    TwoWire* _wire;
    uint8_t command;
    
    int8_t readAckFrame();
    
    inline uint8_t write(uint8_t data) {
        #if ARDUINO >= 100
            return _wire->write(data);
        #else
            return _wire->send(data);
        #endif
    }
    
    inline uint8_t read() {
        #if ARDUINO >= 100
            return _wire->read();
        #else
            return _wire->receive();
        #endif
    }
};

#endif

{'fraction_non_alphanumeric': 0.09943502824858758, 'fraction_numerical': 0.05423728813559322, 'mean_word_length': 2.347826086956522, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, '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': '3490630', 'n_tokens_mistral': 697, 'n_tokens_neox': 636, 'n_words': 149}