Author |
Message |
Topic: Problems with SPI communication |
albertsm
Replies: 20
Views: 2569
|
Forum: BASCOM-AVR Archive Posted: Wed Feb 16, 2011 1:18 pm Subject: Problems with SPI communication |
All directives will override those from the options/cfg.
If you have a project that proves otherwise, let me know with a sample project. |
Topic: more operations in one line |
albertsm
Replies: 3
Views: 471
|
Forum: BASCOM-AVR Archive Posted: Sun Feb 13, 2011 12:48 pm Subject: more operations in one line |
it does work providing that you have enough frame space.
If you show a sample : show your version, and a sample that can be tested.
If you have a Q for MCS, direct it to support and show your serial ... |
Topic: Error 369 |
albertsm
Replies: 4
Views: 929
|
Forum: BASCOM-AVR Archive Posted: Fri Feb 11, 2011 10:47 pm Subject: Error 369 |
you need to rename the label. Myrom was also used for a variable/constant. |
Topic: bug division or MOD |
albertsm
Replies: 5
Views: 440
|
Forum: BASCOM-AVR Archive Posted: Thu Feb 10, 2011 11:49 pm Subject: bug division or MOD |
to solve it is simple:
dim w as word
w= Mydata Mod 10 ' now we get word math
Myarray(i) =w' this will assign the byte part of w to the byte array |
Topic: bug division or MOD |
albertsm
Replies: 5
Views: 440
|
Forum: BASCOM-AVR Archive Posted: Thu Feb 10, 2011 11:46 pm Subject: bug division or MOD |
you assign a byte, but you use a word. So this word is treated as a byte.
Just like :
dim b as byte, w as word
w=1000
b=w
print b ' will NOT be 1000 but w and 255.
like explained in the hel ... |
Topic: bug division or MOD |
albertsm
Replies: 5
Views: 440
|
Forum: BASCOM-AVR Archive Posted: Thu Feb 10, 2011 10:47 pm Subject: bug division or MOD |
Take the time to read the help some day before you conclude it is a bug. It is not a bug.
you assign a byte, and then the whole operation it treated as a byte operation, no matter that you use a word ... |
Topic: Bascom-AVR and own histoy |
albertsm
Replies: 3
Views: 2021
|
Forum: Various Posted: Tue Feb 08, 2011 10:30 am Subject: Bascom-AVR and own histoy |
Robert
send me an email at one of my email addresses (could not find your email address so quickly) and add some questions to it, what you like to know and i will write you a story. |
Topic: how to create a library with Bascom |
albertsm
Replies: 20
Views: 2560
|
Forum: BASCOM-AVR Archive Posted: Sun Feb 06, 2011 4:00 pm Subject: how to create a library with Bascom |
of course when you agree to write source code you need to include it.
but when you make a collection of code for yourself and you use it, it might be that this is not part of the agreement. So in suc ... |
Topic: MP3 Player with WIZ200 Modul |
albertsm
Replies: 7
Views: 2035
|
Forum: Share your working BASCOM-AVR code here Posted: Sun Feb 06, 2011 3:52 pm Subject: MP3 Player with WIZ200 Modul |
Very nice, thanks for the hardware screenshot. A small youtube video or in this case a wav is always nice too |
Topic: how to create a library with Bascom |
albertsm
Replies: 20
Views: 2560
|
Forum: BASCOM-AVR Archive Posted: Fri Feb 04, 2011 2:10 pm Subject: how to create a library with Bascom |
Adrian : both options are not a problem. But it takes additional time, maybe i can make it an option.
For the lib : this could be done as well but is more work. And it will not hide code. If you w ... |
Topic: eeprom programming |
albertsm
Replies: 35
Views: 4006
|
Forum: BASCOM-AVR Archive Posted: Fri Feb 04, 2011 11:50 am Subject: eeprom programming |
The lib was tested with a 24C256 and works as expected.
So make sure you are using an actual ramtron chip and not some other 256 eeprom chip !
In fact the lib is suited for 24C64-24C256. It will b ... |
Topic: Cryptographic hash function with Bascom (SHA-1) |
albertsm
Replies: 1
Views: 957
|
Forum: Share your working BASCOM-AVR code here Posted: Thu Feb 03, 2011 11:17 am Subject: Cryptographic hash function with Bascom (SHA-1) |
hi SIX1 !
Thank you for sharing. Well done! |
Topic: First AI contribution from me? |
albertsm
Replies: 9
Views: 1181
|
Forum: BASCOM-AVR Archive Posted: Fri Jan 28, 2011 10:34 am Subject: First AI contribution from me? |
cool, the insert algo works nice, did not knew about that.
I implemented sort for bytes.
I will add it for words too, the compiler will then work like :
sort array(start), elements
but i have no ... |
Topic: eeprom programming |
albertsm
Replies: 35
Views: 4006
|
Forum: BASCOM-AVR Archive Posted: Fri Jan 28, 2011 10:30 am Subject: eeprom programming |
Hi
I did send it!
So please check your mail/spam filter.
If you can not find it i will look up your forum email and send it to that address.
luizabbadia test it but with different chip and it ... |
Topic: USB-ISP programmer |
albertsm
Replies: 3
Views: 1255
|
Forum: AVR Posted: Fri Jan 28, 2011 12:29 am Subject: USB-ISP programmer |
The programmer is not from MCS, but from Embud.
We only support/sell it.
You can open any BIN or HEX file with the load buffer option from the menu.
Then chose auto program or write buffer. |
|