basic bascom dictionnaire - geea.· jean-pierre duval 1ere partie : le basic _____ 2eme partie : le

Download BASIC BASCOM DICTIONNAIRE - geea.· Jean-Pierre Duval 1ere partie : Le BASIC _____ 2eme partie : Le

Post on 09-Oct-2018

215 views

Category:

Documents

1 download

Embed Size (px)

TRANSCRIPT

  • Jean-Pierre Duval

    1ere partie : Le BASIC__________

    2eme partie : Le systme de dveloppement

    BASIC BASCOM-AVR

    3eme Partie : Le dictionnaire

    4eme partie :les microcontrleurs

    R.I.S.C. ATMEL

  • Ver 1.11.7.9 Bascom-AVR 2_________________________________________________________________________________

    BASIC BASCOM DICTIONNAIRE.......................................................................................................... 6

    NOTES PRELIMINAIRES.................................................................................................................................. 6

    CONFIG................................................................................................................................................................. 7CONFIG 1WIRE ................................................................................................................................................ 7CONFIG ACI ..................................................................................................................................................... 7CONFIG ADC.................................................................................................................................................... 8CONFIG CLOCK............................................................................................................................................... 8CONFIG COM1 ................................................................................................................................................. 9CONFIG COM2 ................................................................................................................................................. 9CONFIG DATE................................................................................................................................................ 10CONFIG DEBOUNCE..................................................................................................................................... 10CONFIG GRAPHLCD..................................................................................................................................... 10CONFIG I2CDELAY....................................................................................................................................... 12CONFIG INTx.................................................................................................................................................. 13CONFIG KBG.................................................................................................................................................. 13CONFIG KEYBOARD .................................................................................................................................... 14CONFIG LCD .................................................................................................................................................. 15CONFIG LCDBUS........................................................................................................................................... 15CONFIG LCDMODE....................................................................................................................................... 15CONFIG LCDPIN............................................................................................................................................ 16CONFIG PIN.................................................................................................................................................... 16Config PORT.................................................................................................................................................... 16CONFIG RC5 ................................................................................................................................................... 17CONFIG SCL................................................................................................................................................... 17CONFIG SDA .................................................................................................................................................. 17CONFIG SERIALIN ........................................................................................................................................ 18CONFIG SERIALIN1 ..................................................................................................................................... 18CONFIG SERIALOUT .................................................................................................................................... 19CONFIG SERIALOUT1 ................................................................................................................................. 19CONFIG SERVOS ........................................................................................................................................... 20CONFIG SPI..................................................................................................................................................... 21CONFIG TIMER0............................................................................................................................................ 22CONFIG TIMER1............................................................................................................................................ 22CONFIG TIMER2............................................................................................................................................ 24CONFIG WAITSUART................................................................................................................................... 25CONFIG WATCHDOG ................................................................................................................................... 25CONFIG X10 ................................................................................................................................................... 26

    INSTRUCTIONS GNRALES ....................................................................................................................... 271WIRECOUNT ................................................................................................................................................ 271WREAD.......................................................................................................................................................... 271WRESET ........................................................................................................................................................ 281WSEARCHFIRST.......................................................................................................................................... 281WSEARCHNEXT .......................................................................................................................................... 291WVERIFY...................................................................................................................................................... 291WWRITE........................................................................................................................................................ 29ABS( )............................................................................................................................................................... 30ALIAS .............................................................................................................................................................. 30ASC .................................................................................................................................................................. 31BAUD............................................................................................................................................................... 31BCD.................................................................................................................................................................. 32BIN ................................................................................................................................................................... 32BIN2GREY / GREY2BIN................................................................................................................................ 33BINVAL........................................................................................................................................................... 33BITS()............................................................................................................................................................... 33BITWAIT ......................................................................................................................................................... 34

  • Ver 1.11.7.9 Bascom-AVR 3_________________________________________________________________________________

    BLOAD ............................................................................................................................................................ 35BSAVE ............................................................................................................................................................. 35BUFSPACE() ................................................................................................................................................... 35BYVAL / BYREF............................................................................................................................................. 36CALL....................................................................................................................................