Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - SomeThing

#1
มันเป็น byte array อยู่แล้วแค่ write ทั้งหมดลงไฟล์นามสกุล .jpg ก็ได้แล้วครับ

ตัวอย่าง Code C# ผมลองเขียนแปลงข้อมูลที่แปะให้ดูได้เป็นรูปผู้หญิงสูง 160


using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace TestConsole
{
    class Program
    {
        static void Main(string[] args)
        {
            string filePath = "data.txt";
            var data = File.ReadAllText(filePath);

            var filterData = data.Split(' ')
                .Select(x => x.Trim())
                .Where(x => x != "")
                .ToList();

            var bytesData = new byte[filterData.Count];
            for(int i=0; i< filterData.Count; i++)
            {
                bytesData[i] = Byte.Parse(filterData[i], System.Globalization.NumberStyles.HexNumber);
            }

            File.WriteAllBytes("test.jpg", bytesData);

            Console.WriteLine("End");
            Console.ReadLine();
        }
    }
}



#2
Quote from: avr_lover on December 24, 2018, 04:43:30 PM
คิดว่าไม่มีความจำเป็นต้องใหญ่กว่านี้แล้วล่ะครับเพราะแค่เอามา display งานเฉพาะทางเช่นเครื่องจรัก เครื่องมือวัด หากต้องการใหญ่กว่านี้ใช้ จอ LCD monitor ,7Segment หรือชนิดอื่นๆ จะมีความคุ้มกว่าครับ อย่าลืมนะครับการสั่งทำต้องมี Volume ของที่เราได้ใช้ทุกวันนี้คือส่วนเกินจากกำลังการผลิตที่เขาขายให้เจ้าหลักๆ ทำให้เรามีใช้กัน ทำมาไม่ได้ขาย ขายได้น้อยเขาก็ไม่ทำล่ะครับ

ตอนนี้มองหา GLCD แทนแล้วล่ะครับ
#3
ผมเห็นส่วนใหญ่ผลิตตามๆ กัน 16x2, 20x2  หาข้อมูลในเน็ตเห็นใหญ่สุด คือ 40x4
หรือมันมีข้อจำกัดอื่นๆ ถึงใหญ่กว่านี้ไม่ได้แล้ว คือ จะเอามา Cascade กันขอจอก็มีช่องว่างอีกดูไม่สบายตา
เฉพาะ Character LCD นะครับ
#4
มันมีขา CON อยู่นะครับ Pull-high คือ เป็น Serial Function ก็รับส่งกันได้เลย ต้อง Power On Module ใหม่ถ้าเกิดมันเข้า Command Mode ไปแล้ว
#8
นอกจาก Simplici TI

มี Protocol อื่นๆ ที่พอเป็นฐานให้พัฒนาต่อได้มั๊ย