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

BASCOM-AVR : xmega pin configuration register : REPLY

please use the samples folder from the user documents folder(you can access it with the menu). These are old directives which are no longer required.

View Article


BASCOM-AVR : I2creceive word variable bytes reversed : REPLY

You can easy swap the high and low byte in a word like this, you don't need to overlay. [code:1:942b8a8f5c] Dim Max1239b As Word Swap Max1239b [/code:1:942b8a8f5c]

View Article


BASCOM-AVR : Config Graphic LCD : REPLY

So, I made cable converter and pins confuguration is this: Dataport = PORTC CE = PD5 CE2 = PD6 CD = PA6 RD = PA7 RESET = PD7 ENABLE = PA5 Could someone help me how I have to change glcdKS108.lib file...

View Article

BASCOM-AVR : I2creceive word variable bytes reversed : REPLY

Thank you to both of you. I have learnt more as I did not know that the bytes were loaded in this way but now this brings me to yet another question. This does the same as using the word variable...

View Article

BASCOM-AVR : XMEGA SPI MASTER SLAVE : NEWTOPIC

Hi! I have connected two Xmega32a4 via SPI. And it does work just fine with sample code as below. But the comunication only goes from master to slave. Now I would like to be able to send some bytes...

View Article


BASCOM-AVR : XMEGA SPI MASTER SLAVE : REPLY

that is why they call it master-slave. :D you can only get data returned from the slave. so if the slave want to send data, the master must send data first so the slave can shift the data out back to...

View Article

BASCOM-AVR : XMEGA SPI MASTER SLAVE : REPLY

Hi Mark, yes I understand that the master should do the 'pool'. Now, I would like to get back some byts in the same 'master poll' sequence. Like in the xm128a1_spi_MASTER.bas example. Exrtract:...

View Article

BASCOM-AVR : about font editor : REPLY

Thank you, kimmi, now all is clear and works nikolai

View Article


BASCOM-AVR : CAN-Bus Problem with 8 Byte Message Length : NEWTOPIC

Hello, I have to send a 8 Byte Message by CAN-Bus. My programm is running well with 4 Byte, but not with 8 Byte. 8 Byte are 64Bit, so I set the variable for sending (it´s called "Wert") from Dword to...

View Article


BASCOM-AVR : CAN-Bus Problem with 8 Byte Message Length : REPLY

You're aware that in float-notation the value in "Wert" looks much different to what you might expect in those 8 bytes? Or, let's say your expectation may not meet reality :D

View Article

BASCOM-AVR : CAN-Bus Problem with 8 Byte Message Length : REPLY

Okay, I understand. So I have to reserve a memory area for an array. But how to send it on CAN with cansend? I have no idea. Sorry for my questions, but I am not a programmer and I have to less...

View Article

BASCOM Project Blog : Working With MAX1238/9 12BIT 12 Channel I2C ADC : REPLY

Now an update to fix the problem of the bytes being swapped and to make the code simpler, use less flash, be self contained also work like getadc does in bascom. All that is now needed is to take a...

View Article

BASCOM Project Blog : Working With MAX1238/9 12BIT 12 Channel I2C ADC : REPLY

very nice, thanks for sharing. forgot about that special swap mode :D

View Article


BASCOM-AVR : XMEGA SPI MASTER SLAVE : REPLY

Hi again, :wink: I still did not figure it out, how to solve this isue. Plz, help :D Tnx Andrej

View Article

BASCOM-AVR : CAN-Bus Problem with 8 Byte Message Length : REPLY

maybe you can first write which values you expect to see and which one you get instead ? that might also show the solution.

View Article


BASCOM-AVR : CAN-Bus Problem with 8 Byte Message Length : REPLY

Mark, [quote:73b0e0313d="albertsm"]maybe you can first write which values you expect to see and which one you get instead ?[/quote:73b0e0313d] it was clear to me, that he expected to assign &h3F...

View Article

BASCOM-AVR : CAN-Bus Problem with 8 Byte Message Length : REPLY

yes, but because of his follow up question, i wondered what he expects.

View Article


BASCOM-AVR : XMEGA SPI MASTER SLAVE : REPLY

did you check out the spi-slave sample from the SPI folder? it is very simple. if you want to return the slave some data, you must fill the SPDR (or spi data register). And this data can only be...

View Article

BASCOM-AVR : CAN-Bus Problem with 8 Byte Message Length : REPLY

My intention was to send a complete message with 8 Byte in one step, which I filled with data before. @MWS you are right, in my example I wanted to send &H3F, but the receiver got ... 80 4F 40....

View Article

BASCOM-AVR : Need Help MAX7456 : REPLY

i have found an error on the Sub [code:1:0fc51f6317]Sub Writecustomcharacter(byval Characters As Byte) Local Count As Byte For Count = 1 To Characters 'Number of characters that need to be programmed,...

View Article
Browsing all 20562 articles
Browse latest View live


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