Example #1
0
        public void WriteScreen(int id, IkarusScreenConfig data)
        {
            byte[] buffer = new byte[data.size_bytes()];
            for (int i = 0; i < buffer.Length; i++)
                buffer[i] = data.getByte(i);

            Write(Comandos.Screen, id, 0, buffer);
            Flush();
            RemoteIkarus(0,id);
        }
Example #2
0
        public IkarusScreenConfig ReadScreen(int id)
        {
            IkarusScreenConfig data = new IkarusScreenConfig();
            byte[] buffer = Read(Comandos.Screen,(byte)id,0, data.size_bytes());

            for (int i = 0; i < buffer.Length; i++)
                data.setByte(i, buffer[i]);
            return data;
        }