Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Search found 5238 matches
www.mcselec.com Forum Index
Author Message
  Topic: compilation error: Rainbow
albertsm

Replies: 5
Views: 92

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: 16
Views: 308

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: 16
Views: 308

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: 16
Views: 308

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: 16
Views: 308

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: 16
Views: 308

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: 232

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: 1640

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: 238

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: 239

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: 520

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: 234

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 ...
  Topic: pickit 4, shoulnt be supported ?
albertsm

Replies: 4
Views: 286

PostForum: BASCOM-AVR   Posted: Mon Nov 08, 2021 2:40 pm   Subject: pickit 4, shoulnt be supported ?
i ordered a SNAP programmer. the first goal will be to give an alternative to the MCS UPDI programmer.
It depends entirely on the API provided by microchip if that will be enhanced for ISP/PDI too. ...
  Topic: I2C LCD PCF8574 Adapter Library
albertsm

Replies: 24
Views: 4792

PostForum: Share your working BASCOM-AVR code here   Posted: Mon Nov 08, 2021 2:35 pm   Subject: I2C LCD PCF8574 Adapter Library
not all libs need to be compiled. in this case there is not need to compile it either. just include it with $LIB and the .LIB extension


if you actually want to use the lbx, the error is about : T ...
  Topic: Incomprehensible behavior asc (x)
albertsm

Replies: 9
Views: 520

PostForum: BASCOM-AVR   Posted: Mon Nov 08, 2021 2:33 pm   Subject: Incomprehensible behavior asc (x)
just that 127 (DEL) does not work as you think it should does not mean that MWS is not right.

In ASCII there are 7 bits which can be used to create 128 characters. Not all characters are printable. ...
 
Page 2 of 350 Goto page Previous  1, 2, 3, ... 348, 349, 350  Next
All times are GMT + 1 Hour
Jump to: