<html><body><p>A teď ještě tohle:</p><p><br></p><p><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2">#define</font></font></font><font color="#800000" face="Consolas" size="2"><font color="#800000" face="Consolas" size="2"><font color="#800000" face="Consolas" size="2"> </font></font></font><font color="#a000a0" face="Consolas" size="2"><font color="#a000a0" face="Consolas" size="2"><font color="#a000a0" face="Consolas" size="2">SCL_out</font></font></font><font color="#800000" face="Consolas" size="2"><font color="#800000" face="Consolas" size="2"><font color="#800000" face="Consolas" size="2"> </font></font></font><font color="#a000a0" face="Consolas" size="2"><font color="#a000a0" face="Consolas" size="2"><font color="#a000a0" face="Consolas" size="2">PORTC</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2">.0</font></font></p><p><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2">#define</font></font></font><font color="#800000" face="Consolas" size="2"><font color="#800000" face="Consolas" size="2"><font color="#800000" face="Consolas" size="2"> </font></font></font><font color="#a000a0" face="Consolas" size="2"><font color="#a000a0" face="Consolas" size="2"><font color="#a000a0" face="Consolas" size="2">SCL_dir</font></font></font><font color="#800000" face="Consolas" size="2"><font color="#800000" face="Consolas" size="2"><font color="#800000" face="Consolas" size="2"> </font></font></font><font color="#a000a0" face="Consolas" size="2"><font color="#a000a0" face="Consolas" size="2"><font color="#a000a0" face="Consolas" size="2">DDRC</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2">.0</font></font></p><p><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2">#define</font></font></font><font color="#800000" face="Consolas" size="2"><font color="#800000" face="Consolas" size="2"><font color="#800000" face="Consolas" size="2"> </font></font></font><font color="#a000a0" face="Consolas" size="2"><font color="#a000a0" face="Consolas" size="2"><font color="#a000a0" face="Consolas" size="2">SDA_out</font></font></font><font color="#800000" face="Consolas" size="2"><font color="#800000" face="Consolas" size="2"><font color="#800000" face="Consolas" size="2"> </font></font></font><font color="#a000a0" face="Consolas" size="2"><font color="#a000a0" face="Consolas" size="2"><font color="#a000a0" face="Consolas" size="2">PORTC</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2">.1</font></font></p><p><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2">#define</font></font></font><font color="#800000" face="Consolas" size="2"><font color="#800000" face="Consolas" size="2"><font color="#800000" face="Consolas" size="2"> </font></font></font><font color="#a000a0" face="Consolas" size="2"><font color="#a000a0" face="Consolas" size="2"><font color="#a000a0" face="Consolas" size="2">SDA_dir</font></font></font><font color="#800000" face="Consolas" size="2"><font color="#800000" face="Consolas" size="2"><font color="#800000" face="Consolas" size="2"> </font></font></font><font color="#a000a0" face="Consolas" size="2"><font color="#a000a0" face="Consolas" size="2"><font color="#a000a0" face="Consolas" size="2">DDRC</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2">.1</font></font></p><p><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2">#define</font></font></font><font color="#800000" face="Consolas" size="2"><font color="#800000" face="Consolas" size="2"><font color="#800000" face="Consolas" size="2"> </font></font></font><font color="#a000a0" face="Consolas" size="2"><font color="#a000a0" face="Consolas" size="2"><font color="#a000a0" face="Consolas" size="2">SDA_in</font></font></font><font color="#800000" face="Consolas" size="2"><font color="#800000" face="Consolas" size="2"><font color="#800000" face="Consolas" size="2"> </font></font></font><font color="#a000a0" face="Consolas" size="2"><font color="#a000a0" face="Consolas" size="2"><font color="#a000a0" face="Consolas" size="2">PINC</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2">.1</font></font></p><p><font face="Consolas" size="2"><font face="Consolas" size="2">
<br></font></font></p><p><font color="#000080" face="Consolas" size="2"><font color="#000080" face="Consolas" size="2"><font color="#000080" face="Consolas" size="2">SDA_dir</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2">=!</font></font><font color="#000080" face="Consolas" size="2"><font color="#000080" face="Consolas" size="2"><font color="#000080" face="Consolas" size="2">b</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2">;</font></font></p><p><br></p><p>Error 9 expected ';' before numeric constant</p><p>Message 10 in expansion of macro 'SDA_dir'</p><p><br></p><p>Zajímavé je, že PORTC.0 mu nevadí, ale PIN a DDR vadí.</p><p><br></p><p>PH<br></p><p><br></p><p>Od: Pavel Hudeček <a href="mailto:edizon@seznam.cz">edizon@seznam.cz</a><br></p><blockquote><div><p>Mě tedy hlavně poněkud vyvádí z míry následující poznámka:</p><p>"For example, the following code will <span style="font-weight: bold;">NOT</span> function as intended:"</p><p><br></p><p>Takže stejně budu muset předělat celý program, a doplnit tam hrůzy, jako:</p><p>eeprom_read_byte(&NonVolatileChar);</p><p><br></p><p>Asi přeci jen koupím za 200 eur CodeVision.<br></p><p><br></p><p>Od: Jan Waclawek <a href="mailto:konfera@efton.sk">konfera@efton.sk</a><br></p><blockquote>Vidim, ze konverzia do noveho softu na ktorom bezi avrfreaks.net zmrsila<br>ten tutorial... povodny je tu:<br>http://legacy.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=38417<br><br>----- Original Message ---------------<br>>#include <avr/eeprom.h></blockquote></div></blockquote></body></html>