![]() |
What is the replacement method for initDigitalPort?
I've come into a little problem with some legacy code from the 2016 control system. I'm trying to control the adis16448 board with this library
which compiled fine in the 2016 wpilibj, but doesn't compile in the 2017 version. Now, I'd like to get this up and running quickly without having to wait for the dev to update, and there are actually only two errors. Relevant code here: Code:
private static class InterruptSource extends DigitalSource {My question is, what is the replacement method for initDigitalPort? Forgive me for anything simple I've overlooked, we are a new FRC team so we have 0 experience with using wpilibj. Also, it might help if I understood what the DigitalSource class actually does, could someone explain this to me? Thanks, help is greatly apreciated! |
Re: What is the replacement method for initDigitalPort?
Quote:
|
| All times are GMT -5. The time now is 23:52. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi