#ifndef __NEOVIPLASMA_H_ #define __NEOVIPLASMA_H_ #include "icsneo/device/plasion/plasion.h" #include "icsneo/device/devicetype.h" #include "icsneo/platform/ftdi.h" namespace icsneo { class NeoVIPLASMA : public Plasion { public: static constexpr DeviceType::Enum DEVICE_TYPE = DeviceType::PLASMA; static constexpr const uint16_t PRODUCT_ID = 0x0801; NeoVIPLASMA(neodevice_t neodevice) : Plasion(neodevice) { getWritableNeoDevice().type = DEVICE_TYPE; productId = PRODUCT_ID; } static std::vector> Find() { std::vector> found; for(auto neodevice : FTDI::FindByProduct(PRODUCT_ID)) found.push_back(std::make_shared(neodevice)); return found; } }; } #endif