Skip to content

Commit

Permalink
update2.03
Browse files Browse the repository at this point in the history
  • Loading branch information
panhao4812 committed Jun 5, 2017
1 parent 08a61c7 commit d85d91e
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 25 deletions.
Binary file modified .vs/Tinytools/v14/.suo
Binary file not shown.
Binary file modified Tinytools/bin/Debug/Tinytools.exe
Binary file not shown.
Binary file modified Tinytools/bin/Debug/Tinytools.pdb
Binary file not shown.
43 changes: 18 additions & 25 deletions Tinytools/bin/Debug/tinytools.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,21 @@ pid,3412
pid2,5678
vid,dddd
eepromsize,511
我知道这世界不是绝对的好
我也知道它有离别 有衰老
然而我只有一次的机会
上主啊 请俯听我的祈祷
请给我一个长长的夏季
给我一段无瑕的回忆
给我一颗温柔的心
给我一份洁白的恋情
我只能来这世上一次 所以
请再给我一个美丽的名字
好让他能在夜里低唤我
在奔驰的岁月里
永远记得我们曾经相爱的事
我知道这世界不是绝对的好
我也知道它有离别 有衰老
然而我只有一次的机会
上主啊 请俯听我的祈祷
请给我一个长长的夏季
给我一给我一颗温柔的心
给我一份洁白的恋情
我只能来这世上一次 所以
请再给我一个美丽的名字
好让他能在夜里低唤我
在奔驰的岁月里
永远记得我们曾经相爱的事
特别感谢kai
测试==>
我知道这世界不是绝对的好
我也知道它有离别 有衰老
然而我只有一次的机会
上主啊 请俯听我的祈祷

请给我一个长长的夏季
给我一段无瑕的回忆
给我一颗温柔的心
给我一份洁白的恋情

我只能来这世上一次 所以
请再给我一个美丽的名字
好让他能在夜里低唤我
在奔驰的岁月里
永远记得我们曾经相爱的事

6 changes: 6 additions & 0 deletions Tinytools/libusbtool.cs
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,10 @@ private void uploadToolStripMenuItem_Click(object sender, EventArgs e)
Print("Uploading");
byte[] outdata = new byte[9]; outdata[0] = 0;
byte[] a = new byte[2];

outdata[1] = 0xFF; outdata[2] = 0xF1;
HidDevice.Write(outdata, 50); Thread.Sleep(50);

for (ushort i = 0; (i * 2)< Convert.ToInt32(eepromsize) ; i+=3)
{
a = BitConverter.GetBytes((ushort)(i*2));
Expand Down Expand Up @@ -468,6 +472,8 @@ private void uploadToolStripMenuItem_Click(object sender, EventArgs e)
Print(outdatastr);
Thread.Sleep(50);
}
outdata[1] = 0xFF; outdata[2] = 0xF2;
HidDevice.Write(outdata, 50); Thread.Sleep(50);
Print("Upload finished");
}
private void libusbToolStripMenuItem_Click(object sender, EventArgs e)
Expand Down
Binary file modified Tinytools/obj/Debug/Tinytools.exe
Binary file not shown.
Binary file modified Tinytools/obj/Debug/Tinytools.pdb
Binary file not shown.

0 comments on commit d85d91e

Please sign in to comment.