Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Search found 5271 matches
www.mcselec.com Forum Index
Author Message
  Topic: SD card/USART bootloader
albertsm

Replies: 8
Views: 2434

PostForum: Share your working BASCOM-AVR code here   Posted: Thu Jan 13, 2022 10:44 am   Subject: SD card/USART bootloader
either you can make sure the bin file is a multiple of 128. or add some code to fill the buffer.


If Wcnt > 0 Then Gosub Writepage

would become :

If Wcnt > 0 Then
while wcnt<1 ...
  Topic: Olimex AVR-ISP-MK2
albertsm

Replies: 5
Views: 90

PostForum: AVR   Posted: Wed Jan 12, 2022 8:23 pm   Subject: Olimex AVR-ISP-MK2
thanks for the full explanation.

of course 'simple' depends on the point of view'
i already had FLIP installed since you can also use it in BASCOM and i made a number of usb enabled products that ...
  Topic: Olimex AVR-ISP-MK2
albertsm

Replies: 5
Views: 90

PostForum: AVR   Posted: Tue Jan 11, 2022 9:40 am   Subject: Olimex AVR-ISP-MK2
you best read the manual of that programmer.
in order to use with libusb you need to change the firmware.
you can download it from the manufacturers web along with the simple procedure to change the ...
  Topic: Insertchar is different in 2085 as in 2084
albertsm

Replies: 7
Views: 200

PostForum: BASCOM-AVR   Posted: Thu Jan 06, 2022 9:19 pm   Subject: Insertchar is different in 2085 as in 2084
Indeed excellent. fully agree.

i added add from clipboard for a next release. that makes it simpler.
and i fixed a bug with [end]
  Topic: Insertchar is different in 2085 as in 2084
albertsm

Replies: 7
Views: 200

PostForum: BASCOM-AVR   Posted: Thu Jan 06, 2022 4:14 pm   Subject: Insertchar is different in 2085 as in 2084
you best replace the code with notepad or with bascom editor (make sure lib is not reformatted).
or simply save the routine in notepad with a new name like : "mynewcode.lib"
then use $lib to include ...
  Topic: Insertchar is different in 2085 as in 2084
albertsm

Replies: 7
Views: 200

PostForum: BASCOM-AVR   Posted: Thu Jan 06, 2022 9:59 am   Subject: Insertchar is different in 2085 as in 2084
your sample does not work. i had to modify it. but then it shows a problem : the last character can not be inserted.
as a tip ; you can use mid() statement. this also saves you from delchar first.
a ...
  Topic: Problem UART reading data
albertsm

Replies: 3
Views: 166

PostForum: BASCOM-AVR   Posted: Wed Jan 05, 2022 1:12 pm   Subject: Problem UART reading data
i do not understand what you mean.
but in your code #1 refers to com1 .in the config you can use txpin= DEF_PA0 or ALT1_PA4 so default is pa0-pa1
#2 points to com2 and txpin can be used too : DEF ...
  Topic: Problem UART reading data
albertsm

Replies: 3
Views: 166

PostForum: BASCOM-AVR   Posted: Tue Jan 04, 2022 1:20 pm   Subject: Problem UART reading data
yes it is a bug you need to download the add on again. it has corrected dat files.
all files were based on the 64 pin version which has more resources. some registers were not remarked in the 28/32 p ...
  Topic: simple 433Mhz Tx and Rx examples
albertsm

Replies: 1
Views: 144

PostForum: Share your working BASCOM-AVR code here   Posted: Mon Jan 03, 2022 9:24 pm   Subject: simple 433Mhz Tx and Rx examples
thank you for sharing your project. yes these are nice and cheap transmitters/receivers. Very Happy

I see you use manchester encoding/decoding which makes sense.
There are built in functions since versi ...
  Topic: lcd char problem
albertsm

Replies: 8
Views: 163

PostForum: BASCOM-AVR   Posted: Sun Jan 02, 2022 9:50 pm   Subject: lcd char problem
edit insert ascii works but maybe you use an old configuration file.
again : look into the datasheet of your LCD font map. there are many different LCD and some have multiple font maps.
before yo ...
  Topic: lcd char problem
albertsm

Replies: 8
Views: 163

PostForum: BASCOM-AVR   Posted: Sun Jan 02, 2022 6:32 pm   Subject: lcd char problem
you need to have a look at the character map of your lcd display.
otherwise check deflcdchar
  Topic: math INT function question
albertsm

Replies: 4
Views: 114

PostForum: BASCOM-AVR   Posted: Sat Jan 01, 2022 9:22 pm   Subject: math INT function question
ok but you use an old version. and your code is not right.
  Topic: math INT function question
albertsm

Replies: 4
Views: 114

PostForum: BASCOM-AVR   Posted: Sat Jan 01, 2022 8:49 pm   Subject: math INT function question
Rotate_count is not a floating point variable. see also the help.
  Topic: version 2085
albertsm

Replies: 14
Views: 520

PostForum: BASCOM-AVR   Posted: Sun Dec 26, 2021 11:08 am   Subject: version 2085
ok, i repeat this one more time : this is a user forum. This is NOT the official support forum.
Random i read it myself, and i can also respond. But the only official support is from support where a ...
  Topic: BasCom-AVR and AVR128DB28
albertsm

Replies: 11
Views: 506

PostForum: BASCOM-AVR   Posted: Sat Dec 25, 2021 9:20 pm   Subject: BasCom-AVR and AVR128DB28
ok, i thought about extending with some other params. like com port or so. and instead of the number using a constant. this because some programmers will be removed in a future update. i get back to t ...
 
Page 1 of 352 Goto page 1, 2, 3 ... 350, 351, 352  Next
All times are GMT + 1 Hour
Jump to: