Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Search found 5226 matches
www.mcselec.com Forum Index
Author Message
  Topic: Attiny 417 output failure
albertsm

Replies: 13
Views: 162

PostForum: BASCOM-AVR   Posted: Tue Nov 30, 2021 8:33 pm   Subject: Attiny 417 output failure
MWS, it does not resolve the portb.1 problem.
  Topic: Master Modbus error on ATMega2560
albertsm

Replies: 8
Views: 214

PostForum: BASCOM-AVR   Posted: Tue Nov 30, 2021 2:07 pm   Subject: Master Modbus error on ATMega2560
the assumption was that when using a micro with many uarts, they are all used. i know, that is not a good assumption.
the lib could work for just the first usart but in order to make it more flexibl ...
  Topic: compilation error: Rainbow
albertsm

Replies: 5
Views: 74

PostForum: BASCOM-AVR   Posted: Tue Nov 30, 2021 2:04 pm   Subject: compilation error: Rainbow
i dont get it. i test each version in windows 10. and all samples are compiled. but yes, you need to install with admin rights. and the first run should be with admin rights too. after that you can us ...
  Topic: compilation error: Rainbow
albertsm

Replies: 5
Views: 74

PostForum: BASCOM-AVR   Posted: Mon Nov 29, 2021 9:52 pm   Subject: compilation error: Rainbow
See also : https://www.mcselec.com/index2.php?option=com_forum&Itemid=59&page=viewtopic&t=14815&highlight=rainbow
  Topic: Attiny 417 output failure
albertsm

Replies: 13
Views: 162

PostForum: BASCOM-AVR   Posted: Mon Nov 29, 2021 8:58 pm   Subject: Attiny 417 output failure
it is not a stack problem. stack comes when you call sub routines. but you do not have them. you also do not use interrupts.
a/d overflow is not likely.

you can best add some print statements and ...
  Topic: Attiny 417 output failure
albertsm

Replies: 13
Views: 162

PostForum: BASCOM-AVR   Posted: Mon Nov 29, 2021 3:41 pm   Subject: Attiny 417 output failure
Config Adc0 = Single , Adc = disabled

or wrote 0 to adc0_CTRLA.0 (register names and locations vary from chip to chip) so best use the config as shown.

i still did not see a reference to the u ...
  Topic: Attiny 417 output failure
albertsm

Replies: 13
Views: 162

PostForum: BASCOM-AVR   Posted: Mon Nov 29, 2021 1:50 pm   Subject: Attiny 417 output failure
I don't use the AD-input pins in digital mode? What do you mean with this comment?
you use config ADC which enables the A/D converter.
Like i mentioned (but you do not give feedback about it) read ...
  Topic: Attiny 417 output failure
albertsm

Replies: 13
Views: 162

PostForum: BASCOM-AVR   Posted: Mon Nov 29, 2021 1:03 pm   Subject: Attiny 417 output failure
that does not make sense. i would start with a verify and see if the code is programmed.

you hardly use stack. and all the color sections are equivalent.

but pb1 is also AIN10. so when using the ...
  Topic: Attiny 417 output failure
albertsm

Replies: 13
Views: 162

PostForum: BASCOM-AVR   Posted: Mon Nov 29, 2021 9:38 am   Subject: Attiny 417 output failure
if a pin does not work always start with just toggling the pin.
also, trace/measure with a DVM on your PCB to see if that is the actual pin.

then check the 5.1 section in the PDF. it shows the al ...
  Topic: Master Modbus error on ATMega2560
albertsm

Replies: 8
Views: 214

PostForum: BASCOM-AVR   Posted: Thu Nov 25, 2021 11:01 am   Subject: Master Modbus error on ATMega2560
you either need to open that COM port so the label gets included. or you need to alter lib.


_sendModbusChar:
#IF _XMEGA
;mov r23,r30 ; channel
st -y,r30
Jmp ...
  Topic: MCP79520 RTC over SPI with Bascom
albertsm

Replies: 6
Views: 1588

PostForum: Share your working BASCOM-AVR code here   Posted: Thu Nov 25, 2021 10:56 am   Subject: MCP79520 RTC over SPI with Bascom
thanks for the update. indeed this is valuable info Very Happy
  Topic: paasage en langue Franšaise de Bascom-avr
albertsm

Replies: 8
Views: 231

PostForum: BASCOM-AVR   Posted: Sun Nov 21, 2021 9:26 pm   Subject: paasage en langue Franšaise de Bascom-avr
there are indeed some gaps. for multiple languages. i have done some research in a tool that saves the language in a separate file so it is simpler for users to alter.
it is possible to translate th ...
  Topic: GUI-O Human Body Temperature Measurement
albertsm

Replies: 4
Views: 198

PostForum: Share your working BASCOM-AVR code here   Posted: Sun Nov 21, 2021 9:20 pm   Subject: GUI-O Human Body Temperature Measurement
hi matjazs

Thanks for sharing. And for the video. It is a good example on how simple it is to connect to android using GUI-O.
I do not think O-Family minds but in case an existing example is used ...
  Topic: Incomprehensible behavior asc (x)
albertsm

Replies: 9
Views: 500

PostForum: BASCOM-AVR   Posted: Wed Nov 10, 2021 8:57 pm   Subject: Incomprehensible behavior asc (x)
when you want the code you entered you need to use 4 digits : ALT+0127 for example.
otherwise you get a code from a code page.
  Topic: Print problem with different bascom versions, ATXMega256A3BU
albertsm

Replies: 5
Views: 223

PostForum: BASCOM-AVR   Posted: Mon Nov 08, 2021 2:50 pm   Subject: Print problem with different bascom versions, ATXMega256A3BU
you need to check if you actual tested with 2084. (check the rpt file).
in older versions one version existed for num>str conversion.
with Xmega that no longer worked because you can not point to ...
 
Page 1 of 349 Goto page 1, 2, 3 ... 347, 348, 349  Next
All times are GMT + 1 Hour
Jump to: