Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Search found 5136 matches
www.mcselec.com Forum Index
Author Message
  Topic: TMP117 digital temperature sensor
albertsm

Replies: 2
Views: 72

PostForum: Share your working BASCOM-AVR code here   Posted: Sun May 09, 2021 1:07 pm   Subject: TMP117 digital temperature sensor
Hi Ian,

very kind of you.
Great work. Thank you for sharing Very Happy

these qwicc modules are very nice.
  Topic: Atxtiny1616
albertsm

Replies: 2
Views: 130

PostForum: BASCOM-AVR   Posted: Sat May 08, 2021 8:06 pm   Subject: Atxtiny1616
interrupt : 'On Pinc.3 Isr_portc does not exist.
this should be : On Portc_int Isr_portc

writing to PIN register can be done since it is a register, but it is intended for reading. so it wil ...
  Topic: I2C LCD PCF8574 Adapter Library
albertsm

Replies: 6
Views: 702

PostForum: Share your working BASCOM-AVR code here   Posted: Tue May 04, 2021 9:21 am   Subject: I2C LCD PCF8574 Adapter Library
thank you for the update. Very Happy
  Topic: AVR128DB32 and ...64 What great chips!
albertsm

Replies: 14
Views: 400

PostForum: BASCOM-AVR   Posted: Tue May 04, 2021 9:16 am   Subject: AVR128DB32 and ...64 What great chips!
jay : i wrote to you from my gmail account. and earlier from my normal mcselec account.
i wonder if you got it? does not seem so.
  Topic: AVR128DB32 and ...64 What great chips!
albertsm

Replies: 14
Views: 400

PostForum: BASCOM-AVR   Posted: Thu Apr 29, 2021 7:36 pm   Subject: AVR128DB32 and ...64 What great chips!
JC : thanks for the kind offer. but i am covered. found them at farnell. the tqfp64. together with a ZIF it will work out great.
and i also got a tip about mouser. they had it too but they have a hig ...
  Topic: AVR128DB32 and ...64 What great chips!
albertsm

Replies: 14
Views: 400

PostForum: BASCOM-AVR   Posted: Thu Apr 29, 2021 2:36 pm   Subject: AVR128DB32 and ...64 What great chips!
unfortunately the datasheet is wrong. it mention PDIP but nowhere to be found. The datasheet is still 'preliminary' which usually means a lot of work when they make it final. because not only the shee ...
  Topic: MCP23017 I2C Graphic LCD Adapter Library
albertsm

Replies: 4
Views: 227

PostForum: Share your working BASCOM-AVR code here   Posted: Thu Apr 29, 2021 10:31 am   Subject: MCP23017 I2C Graphic LCD Adapter Library
ha O-Family, you are the man !
Excellent job. As always i can say Very Happy

Thank you for sharing. with your permission i will include this with bascom too.
  Topic: AVR128DB32 and ...64 What great chips!
albertsm

Replies: 14
Views: 400

PostForum: BASCOM-AVR   Posted: Thu Apr 29, 2021 10:28 am   Subject: AVR128DB32 and ...64 What great chips!
some weeks ago i finished mega4809 support. so the next update will support this.
originally i wanted to increase the xtiny add on each time a new platform was added.
but the megaX (we named it me ...
  Topic: AVR128DB32 and ...64 What great chips!
albertsm

Replies: 14
Views: 400

PostForum: BASCOM-AVR   Posted: Thu Apr 29, 2021 10:28 am   Subject: AVR128DB32 and ...64 What great chips!
some weeks ago i finished mega4809 support. so the next update will support this.
originally i wanted to increase the xtiny add on each time a new platform was added.
but the megaX (we named it me ...
  Topic: Experiment with i2c Multibus and SSD1306 OLED
albertsm

Replies: 13
Views: 270

PostForum: BASCOM-AVR   Posted: Mon Apr 26, 2021 7:31 pm   Subject: Experiment with i2c Multibus and SSD1306 OLED
ok, since the following registers are used by the i2c driver they need to be saved as well :

R20
R21
R22
R23

so when you save/restore these, it should work.
  Topic: Experiment with i2c Multibus and SSD1306 OLED
albertsm

Replies: 13
Views: 270

PostForum: BASCOM-AVR   Posted: Mon Apr 26, 2021 7:18 pm   Subject: Experiment with i2c Multibus and SSD1306 OLED
ok, that means the init works.
i will check the rest.
  Topic: Experiment with i2c Multibus and SSD1306 OLED
albertsm

Replies: 13
Views: 270

PostForum: BASCOM-AVR   Posted: Mon Apr 26, 2021 3:37 pm   Subject: Experiment with i2c Multibus and SSD1306 OLED
ok, well done.
there seem to be some more regs that need to be saved.
For the init procedrue this is R21

this code ;

ldi r21,26 ; 26 bytes
_lcd_init_lp:
call ...
  Topic: Experiment with i2c Multibus and SSD1306 OLED
albertsm

Replies: 13
Views: 270

PostForum: BASCOM-AVR   Posted: Mon Apr 26, 2021 3:24 pm   Subject: Experiment with i2c Multibus and SSD1306 OLED
that is an option too. but under normal conditions there is no need for the multibus lib to save registers. the whole idea of all high level commands is that they may trash all registers.
only when ...
  Topic: Experiment with i2c Multibus and SSD1306 OLED
albertsm

Replies: 13
Views: 270

PostForum: BASCOM-AVR   Posted: Mon Apr 26, 2021 12:27 pm   Subject: Experiment with i2c Multibus and SSD1306 OLED
the lcd lib was not written with multiple lcd in mind so it might need some changes.
your code looks good.
Also, for lcd speed is an issue so i assume that the hardware i2c is used.

i had a quic ...
  Topic: Experiment with i2c Multibus and SSD1306 OLED
albertsm

Replies: 13
Views: 270

PostForum: BASCOM-AVR   Posted: Mon Apr 26, 2021 8:36 am   Subject: Experiment with i2c Multibus and SSD1306 OLED
with i2c a device often can have multiple addresses. in that case you can use one bus and use different addresses to address the device.
but in case of an lcd it often has a fixed address. so one sol ...
 
Page 1 of 343 Goto page 1, 2, 3 ... 341, 342, 343  Next
All times are GMT + 1 Hour
Jump to: