<commit_before>package org.texastorque.torquelib.arduino;

import edu.wpi.first.wpilibj.I2C;
import edu.wpi.first.wpilibj.I2C.Port;

public class I2CArduinoLights {

    private I2C i2c;
    private LightState state;

    /**
     * Create a new set of Arduino lights.
     *
     * @param address The Arduino's device address. Pass the same address you
     * used in the arduino code.
     */
    public I2CArduinoLights(int address) {
        i2c = new I2C(Port.kMXP, address);
        state = LightState.WHITE;
    }

    /**<commit_msg>Switch to onboard i2c port<commit_after>package org.texastorque.torquelib.arduino;

import edu.wpi.first.wpilibj.I2C;
import edu.wpi.first.wpilibj.I2C.Port;

public class I2CArduinoLights {

    private I2C i2c;
    private LightState state;

    /**
     * Create a new set of Arduino lights.
     *
     * @param address The Arduino's device address. Pass the same address you
     * used in the arduino code.
     */
    public I2CArduinoLights(int address) {
        i2c = new I2C(Port.kOnboard, address);
        state = LightState.WHITE;
    }

    /**
{'fraction_non_alphanumeric': 0.09281164695177434, 'fraction_numerical': 0.015468607825295723, 'mean_word_length': 2.654485049833887, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2012420', 'n_tokens_mistral': 408, 'n_tokens_neox': 388, 'n_words': 98}