Quantcast
Channel: MCS Electronics Forum
Browsing all 20577 articles
Browse latest View live
↧

BASCOM-AVR : I2C slave and master in same chip..? : REPLY

Hear's a flow chart of what I'm trying to achieve: https://docs.google.com/drawings/d/1g25R5pE16PzQ5hEtEEzt6WsKWrP2If-9o0Dfz93cs_g/edit?pli=1 I've spent the better part of 3 days testing and trying to...

View Article


BASCOM-AVR : mega128A and 2x16 LCD : REPLY

Ok, Did did switch from the previous fuse setting to another, and the external crystal is now working with the LCD. I then proceeded to kick it up to 14745600 Mhz, it's intended operating Mhz setting...

View Article


BASCOM-AVR : Using SPI on 3.5 display with FTDI FT800 controller. : REPLY

Larry I am in the process of doing the same with Bascom but a little later on. I have spent quite a bit of time porting over FT800_SampleApp_1.0.c to PowerBasic using FTDI's MPSSE interface cable...

View Article

BASCOM-AVR : (Need Help) : How to configure DS3231 RTC with AVR8535? : NEWTOPIC

Dear all... I'm trying to configure DS3231 RTC by simply connect the pins as i have done with DS1307. But the uC haven't work correctly yet. Is there any solution for this problem? I prefer DS3231...

View Article

BASCOM-AVR : Problem with serial data transfer : NEWTOPIC

Hi , I made a circuit with a ATMega8 to measure temperatur and oxygen , then I show the data on a lcd , this works . Now I want to send the data via serial uart to an other ATMega8 and show the data...

View Article


BASCOM-AVR : I2C slave and master in same chip..? : REPLY

if you switch from slave to master twi, you need to enable the interrupts : twcr.0=1 and if you switch from slave to master you can best disable interrupts with twcr.0=0 that should make it work.

View Article

Share your working BASCOM-AVR code here : MCP4361 digital potentiometer with...

thank you for sharing your code.

View Article

BASCOM-8051 : Automatic covertion to ASCII problem : REPLY

you say on PC but you mean the terminal emulator? when you enter a key on the keyboard of your PC, how will it end up at the micro? you use some serial connection ? in that case this would work : dim...

View Article


BASCOM-AVR : Problem with serial data transfer : REPLY

Print Y ,"............." ,X [code:1:223d9438b4]use Print Y ; "............." ;X ; the last ; for suppressing chr(13) + chr(10) [/code:1:223d9438b4]

View Article


BASCOM-AVR : Problem with serial data transfer : REPLY

you should add some synchronization as well. print "#";"............." ;X In the receiver : b=udr ' read value if b="#" then 'sync wert="" else wert=wert+ chr(b) end if b is a byte which is needed...

View Article

Share your working BASCOM-AVR code here : Fast library for ILI9325 LCD : REPLY

Great work, that you for sharing and the demo videos. Also thanks to Mr. Hkipnik's. A lot of display code lately, it is hard to keep up :-)

View Article

BASCOM-AVR : printbin array length of a variable? : NEWTOPIC

I am trying to run this code: Print "Reading: " ; Peersize Temp = Udpread(idx , S(1) , Peersize) ' read the result Printbin S(1) ; Peersize Given a correct size byte, peersize, it still prints the...

View Article

BASCOM-AVR : printbin array length of a variable? : REPLY

printbin does not accept a variable to specify the amount of bytes to print. it accepts only an optional constant. this reason is that otherwise the compiler would just dump the content of this...

View Article


Share your working BASCOM-AVR code here : Fast library for SSD1289 LCD :...

Library for [b:4b719c2e6e]SSD1289[/b:4b719c2e6e] LCD with [b:4b719c2e6e]16-bit interface[/b:4b719c2e6e]:...

View Article

BASCOM-AVR : printbin array length of a variable? : REPLY

Ouch. rather limiting..... Why cant we add a new printbin operator to the compiler, to indicate we are passing a variable as a size? like a colon to indicate the variable as a size, while the...

View Article


BASCOM-AVR : AtTiny85 as I2C slave : REPLY

yes xmega, attiny(USI) are also supported in 2077. you also need to update the i2c slave add on package. download it from register.mcselec.com

View Article

Share your working BASCOM-AVR code here : Fast library for SSD1289 LCD : REPLY

that is what i meant, can't keep up with all these displays :-) But seriously : great work ! thank you for sharing. I know it is a lot of work to write and test as i am writing a driver too at the...

View Article


BASCOM-AVR : Using SPI on 3.5 display with FTDI FT800 controller. : REPLY

Thanks Peter for the reply and suggestions. I have sent an E-mail to FTDICHIP asking for a list of Hex commands to use with spiout. Regards Larry

View Article

Share your working BASCOM-AVR code here : Fast library for SSD1963 LCD :...

Library for [b:89c4d2fadd]SSD1963[/b:89c4d2fadd] LCD with [b:89c4d2fadd]16-bit interface[/b:89c4d2fadd]:...

View Article

BASCOM-AVR : Using SPI on 3.5 display with FTDI FT800 controller. : REPLY

Larry They are all in the FTDI's Software Examples. Here is a file which has most of the stuff you need but its in PowerBasic, just change some of the '%' to 'Const'. It's a real pain to try and...

View Article
Browsing all 20577 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>