VIP專區-嵌入式/單片機編程源碼精選合集系列(58)資源包含以下內容:1. veriloghdl語言工具書.2. 嵌入式詞典查詢.3. 基于ZigBee的無線網絡技術.4. IO 口模擬232通訊程序使用兩種方式的C程序.5. 用Turbo C 實現動畫的一個簡單的實現方法
這種簡單方法利用cleardevice()和delay()函數相互配合.6. dsp2812系列開發辦的原理圖.7. 此程序為網絡通信的16位校驗累加和的經典程序。雖然簡單但是很經典。代碼簡潔.8. 觸摸式人行燈控制器原理圖
觸摸式人行燈控制器原理圖.9. 3310LCD的C51驅動程序,還不錯哦.10. 一些常用的LCD的C51驅動程序,還不錯哦.11. NXP示例編碼集,Software that is described herein is for illustrative purposes only which
provides custom.12. W78E516B在系統編程的上位機程序.13. 使用TI TMS2407 實現SVPWM同步電機控制算法。源代碼在聞廷科技的2407開發板上已經調試成功。.14. Nucleus Kernel Demo
Full source code.15. Altera CPLD矩陣鍵盤一個很不錯的Altera芯片程序.16. 基于Nios II的串口通信.17. The combined demo is dedicated for S1C33L05, so DMT33L05 should be used to load
and run the demo. F.18. 用CPLD驅動SJA1000 CAN控制器.19. arm uart program lpc2104.20. 嵌入式PLC,基于8051F020,在KEIL上開發,可實現自定義PLC功能.21. SMDK2410原理圖protel格式和PCB庫元件.22. 功能:調用IAP服務程序實現Flash ROM的讀/寫操作向Flash ROM地址1000H處寫入10個數據.23. 功能:由KEY1鍵使系統進入空閑狀態.24. WDT功能試驗。使用WDT的定時模塊.25. 功能:使用CCU的4個模塊.26. s3c2440開發板can控制器sja1000驅動.27. 一個3分頻器。可進一步改裝成實際需要的分頻器使用.28. 通過軟件的仿真,硬件的調試,實現串口數據的傳輸,開發環境包括C-C++與匯編語言..29. ICD2原理圖(protel格式、帶usb接口和串口).30. 免費分享版網路硬碟
01.創意風格首頁
02.申請會員
03.密碼查詢
04.會員容量限制
05.上傳檔案支援  Persits.Upload Dundas.Upload Lyf.31. 是一個ARM214系連的最小系統原理圖,希望能多愛好嵌入是開發的人員有幫助.32. ds1621的c51驅動,帶12864液晶驅動..33. ds1302時鐘代碼.34. LCD顯示屏驅動sed1335驅動.35. 漢字顯示字庫及程序源碼14*16標準字庫.36. 14*16字庫生成器升級版.37. This utility downloads code to Philip LPC 2000 series chips.38. 測試ARM的外圍SDAM的狀態和參數.39. 三星44B0上的MP3源碼.40. CPLD 的程序,分頻器.
RSA算法 :首先, 找出三個數, p, q, r, 其中 p, q 是兩個相異的質數, r 是與 (p-1)(q-1) 互質的數...... p, q, r 這三個數便是 person_key,接著, 找出 m, 使得 r^m == 1 mod (p-1)(q-1)..... 這個 m 一定存在, 因為 r 與 (p-1)(q-1) 互質, 用輾轉相除法就可以得到了..... 再來, 計算 n = pq....... m, n 這兩個數便是 public_key ,編碼過程是, 若資料為 a, 將其看成是一個大整數, 假設 a < n.... 如果 a >= n 的話, 就將 a 表成 s 進位 (s
數字運算,判斷一個數是否接近素數
A Niven number is a number such that the sum of its digits divides itself. For example, 111 is a Niven number because the sum of its digits is 3, which divides 111. We can also specify a number in another base b, and a number in base b is a Niven number if the sum of its digits divides its value.
Given b (2 <= b <= 10) and a number in base b, determine whether it is a Niven number or not.
Input
Each line of input contains the base b, followed by a string of digits representing a positive integer in that base. There are no leading zeroes. The input is terminated by a line consisting of 0 alone.
Output
For each case, print "yes" on a line if the given number is a Niven number, and "no" otherwise.
Sample Input
10 111
2 110
10 123
6 1000
8 2314
0
Sample Output
yes
yes
no
yes
no