johncsl82
Advanced Member level 4
hi.....
I already search the entrie post for some tutorial dealing with I/O..... but it seems I still have some problem dealing and understanding with the code..... it quite confusing me....
Anyway can you guys to help me out to clear thing up?
ok my questions are:
1. what is the function of "@" and how to utilize it? if A @ 0x03, means A = 0x03 or A address is fixed as 0x03 or else?
2.how do we receive an input coming from a pin?
3.how do we send an ouput to a pin?
4.how to detect incoming data? using infinte loop?
5.how to send or receive a group of binary (0111 0001)? does frequency or time matter?
6.how do we check the microcontroller frequency and modify it?
7.how do we check the microcontroller "time" and modify it?
8.how do declare our own interrupt, plus how to retrieve list of available intterupt in the microcontroller?
9.can we declare our own register?btw, i find register like RCREG, RCIF and etc etc how do we utilize it?
10.if send an ascii character like 'A' do we have to convert to hex then to binary and send it?
11.how do we make the program go into sleep or wait mode?
12.how do we utilize the option pin function, for example PIN PORT C 3 has 3 function, which are RC3/SCK/SCL... plus other available dunction on the microcontroller?
13.PORTB = 0x02 //set 4 bit mode? or it means PORTB1 = 1?
Thanks
I already search the entrie post for some tutorial dealing with I/O..... but it seems I still have some problem dealing and understanding with the code..... it quite confusing me....
Anyway can you guys to help me out to clear thing up?
ok my questions are:
1. what is the function of "@" and how to utilize it? if A @ 0x03, means A = 0x03 or A address is fixed as 0x03 or else?
2.how do we receive an input coming from a pin?
3.how do we send an ouput to a pin?
4.how to detect incoming data? using infinte loop?
5.how to send or receive a group of binary (0111 0001)? does frequency or time matter?
6.how do we check the microcontroller frequency and modify it?
7.how do we check the microcontroller "time" and modify it?
8.how do declare our own interrupt, plus how to retrieve list of available intterupt in the microcontroller?
9.can we declare our own register?btw, i find register like RCREG, RCIF and etc etc how do we utilize it?
10.if send an ascii character like 'A' do we have to convert to hex then to binary and send it?
11.how do we make the program go into sleep or wait mode?
12.how do we utilize the option pin function, for example PIN PORT C 3 has 3 function, which are RC3/SCK/SCL... plus other available dunction on the microcontroller?
13.PORTB = 0x02 //set 4 bit mode? or it means PORTB1 = 1?
Thanks