Files
Eric F d398a6ced2 Add extracted tools: CitrineOS, OpenOCPP, ShapeShifter
- CitrineOS core extracted (CSMS OCPP 2.0.1)
- OpenOCPP extracted (firmware OCPP 1.6J/2.0.1)
- ShapeShifter library installed (pip install -e)
- ShapeShifter specification extracted
- EVerest extracted

TODO updated with progress
2026-06-08 00:38:27 -04:00

29 lines
528 B
C++

// SPDX-License-Identifier: Apache-2.0
// Copyright 2020 - 2025 Pionix GmbH and Contributors to EVerest
#include "UUGreenCanDevice.hpp"
#include <iostream>
#include <unistd.h>
#include <everest/logging.hpp>
int main(int argc, char** argv) {
UUGreenCanDevice can;
if (!can.open_device("can0")) {
return 1;
}
EVLOG_debug << "CAN device started.";
can.switch_on(true);
can.set_voltage_current(200, 10);
while (true) {
usleep(50000);
}
can.close_device();
return 0;
}