Examples of SimbuckUSBComms


Examples of org.simbuck.application.core.SimbuckUSBComms

     *
     */
    public SimbuckFlashTab() {


        usbtask = new SimbuckUSBComms((short) 0x04D8, (short) 0x001F);
        //usbtask = new SimbuckUSBComms((short)0x04D8, (short)0x003C);

    }
View Full Code Here

Examples of org.simbuck.application.core.SimbuckUSBComms

    @Override
    public void actionPerformed(ActionEvent e) {

         // create the usb thread
        SimbuckUSBComms USBcomm = new SimbuckUSBComms((short)0x04D8, (short)0x003C);
       
          String msg[] = new String[1];
          msg[0] = "08 00 00";
       
         ArrayList al = new ArrayList(USBcomm.TransferBuffer(msg[0]))// - Works 
       
          if (!al.isEmpty()) {
            StringBuilder str = new StringBuilder();
            //int responseSize = Integer.parseInt(al.get(2).toString(), 16);   
           
View Full Code Here

Examples of org.simbuck.application.core.SimbuckUSBComms

    @Override
    public void actionPerformed(ActionEvent e) {
       
        // create the usb thread
        SimbuckUSBComms USBcomm = new SimbuckUSBComms((short)0x04D8, (short)0x001F);
       
        String msg[] = new String[2];
          msg[0] = "15 FF A5";
          msg[1] = "FF 00 00";
        
         for(int i=0;i<2;i++)
         {
         ArrayList al = new ArrayList(USBcomm.TransferBuffer(msg[i]))// - Works 
       
          if (!al.isEmpty()) {
            StringBuilder str = new StringBuilder();
            //int responseSize = Integer.parseInt(al.get(2).toString(), 16);   
           
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.