Jump to content
43oh

fusedwires

Members
  • Content Count

    9
  • Joined

  • Last visited

  1. mgh, Thanks! You are completely correct - I had failed to declare the size of the array in the .h file. Changing it to boolean _wdays[7] fixed the problem completely! That is also a good suggestion about using bitflags - i'll include that in my next round of modifications.
  2. Also, I am using the Tiva-C TM4C123GXL microcontroller, and Energia 0101E0013.
  3. Also, Hello! I seem to have missed copying over that line when drafting in notepad.
  4. I am attempting to construct a simple library for creating alarm objects, basically just the days of the week, an hour, and a minute packaged together in an object for easy management. I have attached a zip of the library, (feel free to use any code that might be useful!) but I am having an issue where toggling the days of the week alters the values of the integer hour and minute values. The days of the week are stored as an array of seven booleans, but I don't think that I am making a fencepost error somewhere... I tried the various days of the week, and figured out that days 0-3 (Sun
  5. Thanks everyone for your quick and helpful advice! L.R.A.'s suggestion of replacing the ".h" with ".c" on my include commands fixed the errors! Also, adding #include "Energia.h" and leaving the included libraries as ".h" (As suggested by igor on http://forum.stellarisiti.com/topic/2009-tivaware-errors/)%C2'> fixed the problem. Thanks again for all of your help!
  6. @@igor Woohoo! After adding in #include "Energia.h" the program compiled without any errors. Thanks!
  7. Not sure how I double posted - I must have hit post by accident midway through. If an admin could delete this duplicate thread that would be awesome! Thanks! Link to intended post: http://forum.stellarisiti.com/topic/2009-tivaware-errors/
  8. Hello! This is my first time posting, so please let me know if I missed anything! I am attempting to use the TivaWare library to modify the clock speed of my Tiva-C (EK-TM4C123GXL) microcontroller. Eventually I plan to use this to construct an alarm clock, with the timing based off of the accurate crystal on the Tiva-C. When I attempt to compile the following code (largely based off of a library written by Yannick and Graham Fountain) I receive a long list of errors, also included below. Code: #include "driverlib/interrupt.h" #include "driverlib/sysctl.h" #include "driverlib/t
  9. Hello! This is my first time posting, so please let me know if I missed anything! I am attempting to use the TivaWare library to modify the clock speed of my Tiva-C (EK-TM4C123GXL) microcontroller. Eventually I plan to use this to construct an alarm clock, with the timing based off of the accurate crystal on the Tiva-C. When I attempt to compile the following code (largely based off of a library written by Yannick and Graham Fountain) I receive a long list of errors, also included below. Code: #include "driverlib/interrupt.h" #include "driverlib/sysctl.h" #include "driverlib/t
×
×
  • Create New...