Share your working BASCOM-AVR code here : RF22 library for Arduino : REPLY
Mark I had quite a bit of spare time early in the year and Iwanted to play with RF to find something robust and reliable for any future projects but now things have changed and I don't have as much...
View ArticleBASCOM-AVR : DS1307 with 2313 : NEWTOPIC
I already have a board with an AT90S2313, where I am using the two ISP pins for programming. The 2313 has one TWI(I2C) pin, but according to the specification for the DS1307, the SDA and SCL has to be...
View ArticleBASCOM-AVR : DS1307 with 2313 : REPLY
Hi, Just use soft i2c, have a look in the help text for config sda and config scl. Regards Ian Dobson
View ArticleShare your working BASCOM-AVR code here : Graphic LCD Screen Dump : REPLY
Hi Mark, Thank you very much on behalf of Michael and myself. Coming from you, this is a great complement. Regards Dean
View ArticleBASCOM-AVR : Cannot compile with sub : NEWTOPIC
Hi. Have this simpel test program; $regfile "M328pdef.dat" $crystal = 16000000 $baud = 9600 'CONFIG SUBMODE = NEW Dim X As Byte Dim Y As Byte Declare Sub Pos(byval X As Byte , Byval Y As Byte) Open...
View ArticleBASCOM-AVR : Cannot compile with sub : REPLY
Hello svein If you use the Call statment to call a sub you must include the enclosing parentheses but without the Call statement you leave them out but you can not mix them you first use Pos(1 , 2)...
View ArticleBASCOM-AVR : Software SPI LSB first? : NEWTOPIC
Hi all. Is it possible to configure the software SPI to send with the byte order reversed? Or should I use the Hardware SPI to achieve this? I'm using some old Siemens LED matrix displays which...
View ArticleBASCOM-AVR : Software SPI LSB first? : REPLY
Have a look at the [b:4f1b240a6e]SHIFTOUT[/b:4f1b240a6e] statement, should do the trick.
View ArticleBASCOM-AVR : Cannot compile with sub : REPLY
Hi Paul. Thanks for Your prompt reply. I haved tried with and without the parentheses, but still get the same error. I get the error: error 211 extenal routine not found[-SUBFROMFRAME] on the "End...
View ArticleBASCOM-AVR : Cannot compile with sub : REPLY
it appears that your installation is not ok. try to update the LIB files.
View ArticleBASCOM-AVR : Cannot compile with sub : REPLY
As Mark says something is wrong as the code I posted compiles for me so if you copy it then it should complile. Regards Paul
View ArticleBASCOM-AVR : Cannot compile with sub : REPLY
Hi and thanks all!! It was something wrong with my program. Have just done a new install, and it works perfect.. Thanks again.. regards svein
View ArticleBASCOM-AVR : Find out if bootloader is present in flash : REPLY
Hi all! got back to my bootloader-check and it's working now: Here' what I do: mega1284p $loadersize = 1024 (don't forget: this means 1024 words = 2048 bytes) 1) determin the start-address of the BL:...
View ArticleBASCOM-AVR : Find out if bootloader is present in flash : REPLY
when cpeek was added there was no chip with >64 KB. but i will add a remark.
View ArticleBASCOM-AVR : code explorer in 2.0.7.7 : NEWTOPIC
since I use 2077 the labels in the code explorer appaer doubled: label1-label1 label2-label2 what does that mean? [b:ca4b2a3ecf][color=red:ca4b2a3ecf](BASCOM-AVR version : 2.0.7.7 , Latest : 2.0.7.6...
View ArticleBASCOM-AVR : Proper Indent, tab-size fixed to 3? : NEWTOPIC
Hi, the proper indent feature is great! I would just like to have the tab size according to the setting in the editor options. A 3 spaces tab leads to wide rows in some cases. Am I missing something...
View ArticleBASCOM-AVR : Software SPI LSB first? : REPLY
Thanks Evert. Shiftout works perfectly for the displays :D Colin.
View ArticleBASCOM-AVR : ATXMEGA: VPORT Configuration Overwriten : NEWTOPIC
Hi, if i configure more then 2 VPORT's the Vport Setup gets overwriten by the next Config statement.. Below is the Debug output from Atmel Studio 4. As you can see, CONFIG VPORT2 = C overwrite...
View ArticleBASCOM-AVR : ATXMEGA: VPORT Configuration Overwriten : REPLY
yes that is right. you need to specify all the vports at once. if you use a new config, you need to specify again all the vports you like to use. it is like writing to a port : if you write '1' to bit...
View Article