{"id":24501153,"url":"https://github.com/team997coders/tcs34725i2croborio","last_synced_at":"2025-03-15T07:24:35.358Z","repository":{"id":76978568,"uuid":"156302842","full_name":"Team997Coders/TCS34725I2CRoboRio","owner":"Team997Coders","description":"Java RoboRio/WPILib I2C driver for TCS34725 color sensor","archived":false,"fork":false,"pushed_at":"2018-11-22T15:29:22.000Z","size":94,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-01-21T22:31:10.101Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Team997Coders.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-11-06T00:34:30.000Z","updated_at":"2018-11-22T15:29:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"e3350d76-729e-473c-990f-6b6b9d116c61","html_url":"https://github.com/Team997Coders/TCS34725I2CRoboRio","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Team997Coders%2FTCS34725I2CRoboRio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Team997Coders%2FTCS34725I2CRoboRio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Team997Coders%2FTCS34725I2CRoboRio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Team997Coders%2FTCS34725I2CRoboRio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Team997Coders","download_url":"https://codeload.github.com/Team997Coders/TCS34725I2CRoboRio/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243697795,"owners_count":20333017,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-21T22:25:07.302Z","updated_at":"2025-03-15T07:24:35.334Z","avatar_url":"https://github.com/Team997Coders.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Release](https://jitpack.io/v/Team997Coders/TCS34725I2CRoboRio.svg)](https://jitpack.io/#Team997Coders/TCS34725I2CRoboRio)\n\n# TCS34725 I2C Driver for RoboRio/WPILib - Java\n\nThis is an I2C driver for a TCS34725 RGB color sensor.  It was developed against [this Adafruit product](https://www.adafruit.com/product/1334)\nbut should work against any breakout board with the reference sensor.  Connect sensor to roboRio I2C port and instantiate class. Component will automatically feed values to the smartdashboard keys \"RGBColorSensor/[R,G,B,C]\".\n\nThis project contains integration tests that will test the driver without a roboRio. Instead, a [bus pirate](https://www.sparkfun.com/products/12942) is used.\nThe bus pirate is a hardware communication \"swiss army knife\" that enables you to communicate over USB to target hardware interfaced with I2C, SPI, UART,\n1 wire, 2 wire, and 3 wire protocols. CAN would be a boon, but it is currently not supported.\n\nTo make this work, connect the bus pirate to the TCS34725 like so (a useful cable such as [this](https://www.sparkfun.com/products/9556) would be helpful.):\n\n|BP     | TCS34725  |\n| ----- | --------- |\n| MOSI  | SDA       |\n| CLK   | SCL       |\n| GND   | GND       |\n| +3.3V | Vin       |\n\nWith the bus pirate connected to your workstation (only tested with Windows), run `./gradlew test`. The integration test will enumerate each COM port to find the bus pirate.\nOnce found, integration tests will run. Note that there are some tests which require you to point red, blue, and green objects at the sensor to pass.\n\n## Usage\n\nIn your build.gradle file:\n```\nallprojects {\n    repositories {\n        jcenter()\n        maven { url \"https://jitpack.io\" }\n    }\n}\ndependencies {\n    compile 'com.github.Team997Coders:TCS34725I2CRoboRio:0.1.0'\n}\n```\n\nNext, import like so:\n```Java\nimport edu.team997.first.wpilibj.*;\n```\n\nFinally, instantiate:\n```Java\nTCS34725_I2C tcs34725 = new TCS34725_I2C();\n```\n\nIf you pass `true` to the constructor, verbose messages will print to the driver station console.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteam997coders%2Ftcs34725i2croborio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fteam997coders%2Ftcs34725i2croborio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteam997coders%2Ftcs34725i2croborio/lists"}