<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=iso-8859-2"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
color:black;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"Formátovaný v HTML Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";
color:black;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Text bubliny Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";
color:black;}
span.TextbublinyChar
{mso-style-name:"Text bubliny Char";
mso-style-priority:99;
mso-style-link:"Text bubliny";
font-family:"Tahoma","sans-serif";}
span.StylE-mailovZprvy19
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.FormtovanvHTMLChar
{mso-style-name:"Formátovaný v HTML Char";
mso-style-priority:99;
mso-style-link:"Formátovaný v HTML";
font-family:Consolas;
color:black;}
span.StylE-mailovZprvy22
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body bgcolor=white lang=CS link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>Díky za reakci,<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>O tomhle vím, ale bohužel to jaksi neumím použít.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>I když použiji <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>1/#include <eeprom_routines.h><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Nebo<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>extern void eeprom_write(unsigned char addr, unsigned char value);<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>extern unsigned char eeprom_read(unsigned char addr);<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>tak mi to stále bere definici makra z "C:\Program Files (x86)\Microchip\xc8\v1.36\include\pic18.h"<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>kde je makro<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>#define EEPROM_READ(addr) 0 // Added only for code portability<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> #define eeprom_read(addr) 0<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> #define EEPROM_WRITE(addr, value) // Added only for code portability<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> #define eeprom_write(addr, value)<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Takže jak z toho ven?<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> Hw-list [mailto:hw-list-bounces@list.hw.cz] <b>On Behalf Of </b>mpap@quick.cz<br><b>Sent:</b> Tuesday, March 22, 2016 7:21 PM<br><b>To:</b> HW-news<br><b>Subject:</b> Re: Mirrochip xc8 (1.36)<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>Dobrý večer,<br><br>napsal jsem si svoje rutiny, ale to co hledáte je pro XC8 v1.36 v<br>C:\Program Files (x86)\Microchip\xc8\v1.36\include\eeprom_routines.h<br><br>Miloš<br><br>On 22.03.2016 19:03, Miroslav Draxal wrote:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal>Dobrý večer,<o:p></o:p></p><p class=MsoNormal>Nepracujete někdo s XC8 (1.36)? <o:p></o:p></p><p class=MsoNormal>Zrušili tam makra eeprom_read a eeprom_write. Samozřejmě, že si je mohu vytvořit, ale chtěl jsem využít vnitřních knihoven pro práci s eeprom. Nějak se mi ale nedaří. Nemáte nějaký example ale pro verzi 1.36?<o:p></o:p></p><p class=MsoNormal>Díky, Míra<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><br><br><br><o:p></o:p></span></p><pre>_______________________________________________<o:p></o:p></pre><pre>HW-list mailing list - sponsored by <a href="http://www.HW.cz">www.HW.cz</a><o:p></o:p></pre><pre><a href="mailto:Hw-list@list.hw.cz">Hw-list@list.hw.cz</a><o:p></o:p></pre><pre><a href="http://list.hw.cz/mailman/listinfo/hw-list">http://list.hw.cz/mailman/listinfo/hw-list</a><o:p></o:p></pre></blockquote><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p> </o:p></span></p></div></body></html>