soshare分享

分享


  • Home

  • Categories

  • Archives

  • File

  • Commonweal 404

  • Search

B4A实现声音的播放MediaPlayer

Posted on 2016-04-17 | In Program | | Visitors:
首先,需在库文件里面选择 Audio 在变量中定义一个 mediaplayer 1Dim MediaPlayer As MediaPlayer 播放 MP3 123456789Sub PlayMP3(FileName As String,PlayLoop As Boolean) MediaPl ...
Read more »

B4A实现CRC16校验(Modbus)

Posted on 2016-04-17 | In Program | | Visitors:
介绍循环冗余校验(Cyclic Redundancy Check, CRC)是一种根据网络数据包或计算机文件等数据产生简短固定位数校验码的一种信道编码技术,主要用来检测或校验数据传输或者保存后可能出现的错误。它是利用除法及余数的原理来作错误侦测的。 1.设置CRC寄存器,并给其赋值FFFF(hex) ...
Read more »

B4A屏幕常亮和取消常亮

Posted on 2016-04-17 | In Program | | Visitors:
B4A 是一个 Basic 语言编辑,可生成 android 的工具! 对于设置 android 界面的常亮,需要用到 B4A 的 Phone 库,Link:http://www.b4x.com/android/help/phone.html 在 Phone 里面有个 PhoneWakeState ...
Read more »

Jlink V8 固件修复(the connected emulate is a J-link clone)

Posted on 2014-08-08 | In Electron | | Visitors:
关于 JLINK 固件丢失或升级固件后提示 Clone 的解决办法 本人用的 JLINK 仿真器(某宝上买的),在使用 IAR7.2 时,提示要升级固件,升级后就出现 the connected emulate is a J-link clone 的提示。 在网上找了许多关于修复的资料,本人反复试验 ...
Read more »

通信接口电平信号

Posted on 2014-05-05 | In Electron | | Visitors:
RS485+2V ~+6V 表示“0”,- 6V ~- 2V 表示“1”。 RS232在 TxD 和 RxD 上:逻辑 1(MARK)=-3V ~-15V逻辑 0(SPACE)=+3 ~+15V TTL 电平输出高电平>2.4V,输出低电平<0.4V。在室温下,一般输出高电平是 3.5V ...
Read more »

Halcon算子學習——Object

Posted on 2013-04-30 | In Program | | Visitors:
Halcon 算子學習——Object1.Information1.1 count_obj — Number of objects in a tuple. count_obj(Objects : : : Number)統計一個元祖中的對象1.2 get_channel_info — Informat ...
Read more »

Halcon算子學習——File

Posted on 2013-04-07 | In Program | | Visitors:
1.Images(圖像) 1.1 deserialize_image — Deserialize a serialized image object.deserialize_image( : Image : SerializedItemHandle : )圖像反序列化:將一個已經序列化的圖像反序列化 ...
Read more »

Halcon算子學習——image

Posted on 2013-04-07 | In Program | | Visitors:
1.Access (取出)1.1 get_grayval — Access the gray values of an image object. get_grayval(Image : : Row, Column : Grayval)獲取圖像中一點的灰度值1.2 get_grayval_conto ...
Read more »

基於快速傅利葉變換的瑕疵檢測

Posted on 2013-04-07 | In Program | | Visitors:
This program demonstrates how to detect small texture defects on the surface of plastic items by using the fast fourier transform (FFT). First, we ...
Read more »

圖像的代數運算

Posted on 2013-03-20 | In Program | | Visitors:
概念代数运算是指两幅输入图像之间进行点对点的加、减、乘、除运算得到输出图像的过程。如果记输入图像为 A(x,y)和 B(x,y),输出图像为 C(x,y),则有如下四种形式:(1) C(x,y) = A(x,y)+ B(x,y)(2) C(x,y) = A(x,y)- B(x,y)(3) C(x, ...
Read more »
<123…6>

51 posts
4 categories
26 tags
Links
  • Soshare
© 2010 — 2021 tosobright | 粤ICP备16029470号-1
Powered by Hexo
|
Theme — NexT.Pisces v5.1.4