Code: Select all
and why 2 lists?
<- How dose this work?
<-- this 1 should be quite easy, copy and paste from google images or something?
Code: Select all
Code: Select all
Define CONF_WORD = 0x31f4
Define CLOCK_FREQUENCY = 4
ADCON0 = %00001000 'Pin AN2 en analog, Vref sur VDD
ANSEL.2 = 1 'AN2 en entrée
TRISIO.1 = 0
Dim ad As Word
GPIO.1 = 0
loop:
Adcin 2, ad
If ad > 900 Then
GPIO.1 = 1
Endif
If ad < 870 Then
GPIO.1 = 0
Endif
WaitUs 1
Goto loop
Code: Select all
[list]
[*]Red
[*]Blue
[*]Yellow
[/list]
Code: Select all
[list=1]
[*]Go to the shops
[*]Buy a new computer
[*]Swear at computer when it crashes
[/list]
Code: Select all
[list=a]
[*]The first possible answer
[*]The second possible answer
[*]The third possible answer
[/list]
the code tag is used to use a fixed distance font type like courier. Its makes a better view to display "code" or other Ascii stuffCartoon wrote:Ahh okay - I don't think I'll ever use that :S Whats the code used for anyway? and what about other buttons?
Code: Select all
TTL to MMi99 input interface
BC547 MMi99 I/P
10K --------------------
TTL input ___ |/
------------|___|------|
|>
|
GND | MMi99 0V
-------------------------o------------------
Users browsing this forum: No registered users and 11 guests