Update SMS.ino

This commit is contained in:
sanni 2019-09-20 11:50:54 +02:00
parent 4a2d3d81dc
commit 026e774b43

View File

@ -86,7 +86,7 @@ void setup_SMS() {
Low level functions
*****************************************/
void writeByte_SMS(word myAddress, byte myData) {
// Set Data Pins (D0-D15) to Output
// Set Data Pins (D0-D7) to Output
DDRC = 0xFF;
// Set address
@ -113,12 +113,12 @@ void writeByte_SMS(word myAddress, byte myData) {
// Leave WE high for at least 50ns
__asm__("nop\n\t""nop\n\t""nop\n\t""nop\n\t");
// Set Data Pins (D0-D15) to Input
// Set Data Pins (D0-D7) to Input
DDRC = 0x00;
}
byte readByte_SMS(word myAddress) {
// Set Data Pins (D0-D15) to Input
// Set Data Pins (D0-D7) to Input
DDRC = 0x00;
// Set Address