PDA

View Full Version : Pic int



dellins
- 10th March 2013, 07:59
What is the difference between PICbasic INT and Atom INT

PICBASIC

led var PORTB.7 ‘Establish name for portb.7



ATOM

time var byte ‘ Establish variable Time
trisc = %00000000 ‘ Make port C all outputs (P8-P15)
portc = %11111111 ‘ P12-P15 LEDs off, P8 on

http://www.precision-robotics.com/pic_int.pdf


(http://www.precision-robotics.com/pic_int.pdf)

wdmagic
- 10th March 2013, 08:02
4 letters
hahahaha sorry

HenrikOlsson
- 10th March 2013, 08:37
Hi and welcome to the forum,
Was this meant as a question or did you want to link to the article which tried to answers that very question?
If it WAS meant as a question then a good place to start is in the very article you linked to, then in the syntax manual (http://downloads.basicmicro.com/downloads/datasheets/reference_manual_V2_1.pdf) for the ATOM.

Since the code snippets you posted actually doesn't have anthing to do with interrupts it's possible that you're confusing it with the datatype INTeger.... INT, in this case stands for Interrupt and not integer as may be the case in other languages.

Anyway, if it was a question and you don't get an answer please clarify what it is you're asking.

/Henrik.