Is there anybody can help me ?

I am using the PIC16F84 as the MCU to control the parallel D/A and A/D converter through portB. But I have no idea with the MCU program in C language.
Is there anybody has some samples to show me how to do it? Thanks in advance!

best option is to get C for dummies. That is a good place to get basic handle on programming structures and proper formatting syntax for the language. C is an easy language with proper guidance........expect at least a 2 to 3 month learning curve if your completely new to the process of programming language
Signature: Looking for a footprint, component, model? Might be here > http://ni.kittmaster.com

Similar Messages

  • Hi..i just finish installed OS x maverick, it seems that my ITunes having problem..an error occured (-45054)...is there anybody can help me on this..thanks

    Hi..i just finish installed OS x maverick, it seems that my ITunes having problem..an error occured (-45054)...is there anybody can help me on this..thanks

    Hi plugking,
    Welcome to the Support Communities!
    Repairing disk permissions is the first step in resolving this error message:
    Troubleshooting permissions issues in Mac OS X
    http://support.apple.com/kb/HT2963
    Open Disk Utility (/Applications/Utilities/). Select your Mac OS X startup volume in the column on the left of the Disk Utility window, then click the First Aid tab. Click the Repair Disk Permissions
    Also, make sure you have the latest version of iTunes installed:
    Apple - iTunes - Download iTunes Now
    http://www.apple.com/itunes/download/
    Cheers,
    - Judy

  • Is there anybody can help in this exception

    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Exception in JSP: /jsp/register.jsp:19
    16:
    17: <jsp:setProperty name="reg" property="user1" />
    18:
    19: <jsp:setProperty name="reg" property="pass1"/>
    20:
    21: </body>
    22: </html>
    Stacktrace:
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:506)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    org.apache.jasper.JasperException
         org.apache.jasper.runtime.JspRuntimeLibrary.internalIntrospecthelper(JspRuntimeLibrary.java:359)
         org.apache.jasper.runtime.JspRuntimeLibrary.introspecthelper(JspRuntimeLibrary.java:306)
         org.apache.jsp.jsp.register_jsp._jspService(register_jsp.java:72)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    java.lang.reflect.InvocationTargetException
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         java.lang.reflect.Method.invoke(Unknown Source)
         org.apache.jasper.runtime.JspRuntimeLibrary.internalIntrospecthelper(JspRuntimeLibrary.java:355)
         org.apache.jasper.runtime.JspRuntimeLibrary.introspecthelper(JspRuntimeLibrary.java:306)
         org.apache.jsp.jsp.register_jsp._jspService(register_jsp.java:72)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.20 logs.
    Apache Tomcat/5.5.20

    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
    root cause
    org.apache.jasper.JasperException
         org.apache.jasper.runtime.JspRuntimeLibrary.internalIntrospecthelper(JspRuntimeLibrary.java:359)
         org.apache.jasper.runtime.JspRuntimeLibrary.introspecthelper(JspRuntimeLibrary.java:306)
         org.apache.jsp.jsp.register_jsp._jspService(register_jsp.java:72)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
    root cause
    java.lang.reflect.InvocationTargetException
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:597)
         org.apache.jasper.runtime.JspRuntimeLibrary.internalIntrospecthelper(JspRuntimeLibrary.java:355)
         org.apache.jasper.runtime.JspRuntimeLibrary.introspecthelper(JspRuntimeLibrary.java:306)
         org.apache.jsp.jsp.register_jsp._jspService(register_jsp.java:72)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.17 logs.
    Apache Tomcat/5.5.17

  • Hi anybody there who can help me ha..? My phone 5s was stolen 1 month ago..Find my phone is no a big deal, How can i know whether my phone is in use??

    Hi anybody there who can help me ha..? My phone 5s was stolen 1 month ago..Find my phone is no a big deal bcz it seems to be wiped out all data including settings. it might be in use somewhere turning new fresh Gadget.  How can i know whether my phone is in use??

    You would know for a fact if the device is in use, but if you go back to the find my iPhone app in iCloud.com, you can either select to erase it, or place it in lost mode, in which case, once the device makes a connection to the internet, it will automatically go into that mode.

  • Anybody can help me understand if the Ipads becomes ready to be used in all world regions with 3G and or 4G infrastructure? I mean, are all of them released or when I buy one in the US to be used in Argentina I need to ask for a released one, less cheaper

    anybody can help me understand if the Ipads becomes ready to be used in all world regions with 3G and or 4G infrastructure? I mean, are all of them released or when I buy one in the US to be used in Argentina I need to ask for a released one, with add costs?

    There are two versions of the current iPad, the WiFi only (which will work anywhere in the world, but only connect to WiFi networks) and the 3G/4G model. The latter will connect to 3G networks worldwide, as I understand it, but the only 4G networks it can connect to are in the US and Canada.

  • Anybody can help with this SQL?

    The table is simple, only 2 columns:
    create table personpay(
    id integer primary key,
    pay number(8,2) not null);
    So the original talbe looks like this:
    ID PAY
    1 800
    2 400
    3 1200
    4 500
    5 600
    6 1900
    The requirement is to use one single query(no pl/sql) to show something lile the following, in other words, for each ID, the pay is the sum of all before itself and itself. So the query result looks like this:
    ID PAY
    1 800
    2 1200
    3 2400
    4 2900
    5 3500
    6 5400
    Again, just use one sql. No pl/sql. Anybody can help with this? I really appreciate that.
    thanks,

    Eh, people are so "analytically minded" that can't even notice a simple join?
    Counting Ordered Rows
    Let’s start with a basic counting problem. Suppose we are given a list of integers, for example:
    x
    2
    3
    4
    6
    9
    and want to enumerate all of them sequentially like this:
    x      #
    2      1
    3      2
    4      3
    6      4
    9      5
    Enumerating rows in the increasing order is the same as counting how many rows precede a given row.
    SQL enjoys success unparalleled by any rival query language. Not the last reason for such popularity might be credited to its proximity to English . Let examine the informal idea
    Enumerating rows in increasing order is counting how many rows precede a given row.
    carefully. Perhaps the most important is that we referred to the rows in the source table twice: first, to a given row, second, to a preceding row. Therefore, we need to join our number list with itself (fig 1.1).
    Cartesian Product
    Surprisingly, not many basic SQL tutorials, which are so abundant on the web today, mention Cartesian product. Cartesian product is a join operator with no join condition
    select A.*, B.* from A, B
    Figure 1.1: Cartesian product of the set A = {2,3,4,6,9} by itself. Counting all the elements x that are no greater than y produces the sequence number of y in the set A.
    Carrying over this idea into formal SQL query is straightforward. As it is our first query in this book, let’s do it step by step. The Cartesian product itself is
    select t.x x, tt.x y
    from T t, T tt
    Next, the triangle area below the main diagonal is
    select t.x x, tt.x y
    from T t, T tt
    where tt.x <= t.x
    Finally, we need only one column – t.x – which we group the previous result by and count
    select t.x, count(*) seqNum
    from T t, T tt
    where tt.x <= t.x
    group by t.x
    What if we modify the problem slightly and ask for a list of pairs where each number is coupled with its predecessor?
    x      predecessor
    2      
    3      2
    4      3
    6      4
    9      6
    Let me provide a typical mathematician’s answer, first -- it is remarkable in a certain way. Given that we already know how to number list elements successively, it might be tempted to reduce the current problem to the previous one:
    Enumerate all the numbers in the increasing order and match each sequence number seq# with predecessor seq#-1. Next!
    This attitude is, undoubtedly, the most economical way of thinking, although not necessarily producing the most efficient SQL. Therefore, let’s revisit our original approach, as illustrated on fig 1.2.
    Figure 1.2: Cartesian product of the set A = {2,3,4,6,9} by itself. The predecessor of y is the maximal number in a set of x that are less than y. There is no predecessor for y = 2.
    This translates into the following SQL query
    select t.x, max(tt.x) predecessor
    from T t, T tt
    where tt.x < t.x
    group by t.x
    Both solutions are expressed in standard SQL leveraging join and grouping with aggregation. Alternatively, instead of joining and grouping why don’t we calculate the count or max just in place as a correlated scalar subquery:
    select t.x,
    (select count(*) from T tt where tt.x <= t.x) seq#
    from T t
    group by t.x
    The subquery always returns a single value; this is why it is called scalar. The tt.x <= t.x predicate connects it to the outer query; this is why it is called correlated. Arguably, leveraging correlated scalar subqueries is one the most intuitive techniques to write SQL queries.
    How about counting rows that are not necessarily distinct? This is where our method breaks. It is challenging to distinguish duplicate rows by purely logical means, so that various less “pure” counting methods were devised. They all, however, require extending the SQL syntactically, which was the beginning of slipping along the ever increasing language complexity slope.
    Here is how analytic SQL extension counts rows
    select x, rank() over(order by x) seq# from T; -- first problem
    select x, lag() over(order by x) seq# from T; -- second problem
    Many people suggest that it’s not only more efficient, but more intuitive. The idea that “analytics rocks” can be challenged in many ways. The syntactic clarity has its cost: SQL programmer has to remember (or, at least, lookup) the list of analytic functions. The performance argument is not evident, since non-analytical queries are simpler construction from optimizer perspective. A shorter list of physical execution operators implies fewer query transformation rules, and less dramatic combinatorial explosion of the optimizer search space.
    It might even be argued that the syntax could be better. The partition by and order by clauses have similar functionality to the group by and order by clauses in the main query block. Yet one name was reused, and the other had been chosen to have a new name. Unlike other scalar expressions, which can be placed anywhere in SQL query where scalar values are accepted, the analytics clause lives in the scope of the select clause only. I have never been able to suppress an impression that analytic extension could be designed in more natural way.

  • Anybody can help me for RTF conversion?

    Anybody can help me for RTF conversion for selected text frames only in Indesign by script

    ID has no built-in way to export a story as RTF with style labeling in a column next to the text, similar to what you would see in Story Editor view, but there is a remote possibility that this could be scripted (ask in InDesign Scripting) or perhaps you can make InDesign Tagged Text work for you. Try exporting a few paragraphs to tagged text and see if it would be useful.

  • How long I shall wait? anybody can help?

    my ipod nano was in Windows format, but now I bought a new computer using the Mac OS X sysstem, then I have to restore my ipod nano. But it's been already two hours that I'm waiting it to restore, I'm worry, it is something wrong? How long time it takes to restore my ipod nano? anybody can help?

    thanks, i did restart my Mac, at least it doesn't always showing that "restoring". But the problem still there, I managered to turn the ipod nano to disk modo and recconcted with the computer, but my Mac doesn't recognize at all my nano, and ipod shows nowhere in my computer. How can I restore my nano with this situation? any suggestion?

  • I can not save any data to external hard drive from my mac pro. Is there anyone can help me in this regard?( note, when i first plug my ext. drive to mac i chose option to backup later)

    I can not save any data to external hard drive from my mac pro. Is there anyone can help me in this regard?( note, when i first plug my ext. drive to mac i chose option to backup later)

    The device may be formatted for Windows, as NTFS. The format is readable, but not natively writable on a Mac. To write to the device, you must either reformat it (erasing all the contents) or install third-party software to enable write access to NTFS.

  • I bought my macbook pro on 2013 but last few months its become very slow , is there anyone can help me please ?

    i bought my macbook pro on 2013 but last few months its become very slow , is there anyone can help me please ?

    Activity Monitor - Mavericks  also Yosemite
    Activity Monitor in Mavericks has significant changes
    Performance Guide
    Why is my computer slow
    Why your Mac runs slower than it should
    Slow Mac After Mavericks
    Things you can do to resolve slowdowns  see post by Kappy

  • HT4061 My iphone 4s remains in recovery mode permamently. Itunes wont restore it, constant messages of error 4013 keeps coming up on screen, is there any1 out there who can help before i crack up?

    My iphone 4s remains in recovery mode permamently. Itunes wont restore it, constant messages of error 4013 keeps coming up on screen, is there any1 out there who can help before i crack up?

    Hello Sean,
    It sounds like you are constantly needing to restore your phone because it keeps going into recovery mode. Usually putting a device into recovery mode and restoring it can help isolate an issue to your iPhone hardware if an issue persists afterwards. I would try manually putting it into recovery mode and restoring it 1 more time:
    If you can't update or restore your iOS device
    http://support.apple.com/kb/HT1808
    If that does not resolve it the symptoms indicate to me that it is a hardware issue causing this to happen and would seek service for it:
    iPhone Repair - Other Repairs
    https://www.apple.com/support/iphone/repair/other/
    Thank you for using Apple Support Communities.
    All the best,
    Sterling

  • The speaker of my brand new mac book pro are not working and I cannot plug in the earphones, the hole looks smaller than the pin or with an obstruction. anybody can help? thanks

    the speakers of my brand new mac book pro are not working and I cannot plug in the earphones, the hole looks smaller than the pin or with an obstruction. anybody can help? thanks

    Hi talero,
    Contact AppleCare or bring it into an Apple Store or AASP.

  • My iphone 4's backlight turns off ocassionally.,some say update it and it will be ok..,anybody can help me?

    my iphone 4's backlight turns off ocassionally.,some say update it and it will be ok..,anybody can help me?

    yes the phone is already on..,autolock is set to 1 min..,what i mean is that whenever im using my iphone the backlight turns off and i got a black sceen but i can  see the icons on my iphone if i put it on a bright light..,even if i press the wake up botton the backlight just lit at little and it turns off again,,,and after about 30 mins on sleep mode and press the wake up button it will function as a normal again,few minutes after backlights turns off again..thanks!

  • HT1212 i have a iphone 8g and the lock button doesnt work and i forgot my password and i was wondering if anybody can help me??

    i have a iphone 8g and the lock button doesnt work and i forgot my password and i was wondering if anybody can help me??

    You will need to restore your iPhone, take a look at this link, http://support.apple.com/kb/HT1212

  • I am trying to install Adobe Premiere Elements 9 without success. I successfully installed Photoshop Elements 9 without a problem. The message I am getting is 'Invalid Unicode file - .\Autoplay\LangData\en_US\lang.dat'. Anyone out there who can help pleas

    I am trying to install Adobe Premiere Elements 9 without success. I successfully installed Photoshop Elements 9 without a problem. The message I am getting is 'Invalid Unicode file - .\Autoplay\LangData\en_US\lang.dat'. Anyone out there who can help please?

    click setup, not autoplay.

Maybe you are looking for

  • Can not send email from this house

    I cannot send an email from any computer, laptop or phone (connected via wifi) from this house. However, if I take the laptop or phone to another place I can send with no problem. Oh, I can receive just fine. Here's the problem. I am not using Verizo

  • Solution for a "colour picker" problem.

    Hello, I had the most annoying problem with "Colours" in DreamWeaver 8. I just couldnt seem to get DreamWeaver to select colours from the page I was working in. I could select colours from the colour popup or "swab", but trying to match colours with

  • Yellow stickies - 2008 versus 2013

    Hey, The yellow stickies were fun on my 2008 -- adding them with the "water-y wave" appearance. Also, dashboard was in the list of icons on the bottom of my imac screen. Then stickies were in the bottom of my dashboard screen. Now, with my 2013, what

  • LDAPConnection timeout problem

    Hello, LDAPConnection(int M_timeout) timeout seems not work. I expect the exception will be thrown if the connection to LDAP server is not alive for M_timeout seconds. But it doesn't work, no matter what is the value of M_timeout, the connection time

  • Oracle XE limitations

    Excuse the newbie question. I know that Oracle XE has a limit of 4g on the size of a DB. Can you have multiple DBs? We currently support our small customers on JET. They have large projects with seismic data. It can add up to bigger than 4G quickly i