Software on PC that I have developed for use with micro controller development. |
Software
Timer 0 Calculator and Code generation
A simple gadget is developed for the calculation of PIC18 timer 0 setup and period reload register. The gadget below allow the generation of code to allow the usage of timer 1 to interrupt at the time needed. By keying in the needed time period and oscillator frequency the calculator will calculate the best reload value for timer0. The code generated can be used on the C18 compiler.
![]() Please report to me if you have discover any bug on this gadget.
|
SPTerm (Serial Port Terminal)
SPTerm will scan the computer for available com port in the PC. Setting for Stop bit, baud rate, parity and Bits can be selected before opening the connection to the port. When the serial port is open any data that is received will be displayed in the ASCII box while the Hex will be display in the Hex box. The check box Clear to send and Data Set ready shows the status of the 2 pins. Check indicate high on the pin while unchecked means that its low. Data can be send out through the text box at send group either using the ASCII or hex format. Checking request to send and data terminal ready would output high to each of the pins individually. The screenshot above show an example of sending the data 0xAF 0xAA 0x31 in a loop back configuration. The data is received back and displayed both of the text box. The program SPTerm can be download at http://spterm.codeplex.com/ source code for the project can be obtain through the same place. Update 29/12/11 File got listed in Softpedia at http://www.softpedia.com/get/Network-Tools/Misc-Networking-Tools/SPTerm.shtml |
1-2 of 2