anoop kr
Member level 4
- Joined
- Aug 6, 2010
- Messages
- 69
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,286
- Location
- kerala
- Activity points
- 1,885
This is my new project . I want to interface ATmega32 microcontroller with visual basic 6.0. I can communicate with visual basic through serial port bidirectionally. Aim of the project is that i have to monitor the ADC values of 2 channels in two text boxes in visual basic. The method i chose is that i use a timer in visual basic to send two characters to microcontroller and when the controller receives these characters the controller will send corresponding ADC values with one additional characters. When VB receives these character it will show the following value in the text box.
I use a string array to receive values coming from controller. When i use Asc() function in VB it showing some error. How can i convert the incoming values to ascii.
Also i giving the code in VB and the code for controller
I use a string array to receive values coming from controller. When i use Asc() function in VB it showing some error. How can i convert the incoming values to ascii.
Also i giving the code in VB and the code for controller