Jump to content


  • Content Count

  • Joined

  • Last visited

Everything posted by cry_viem

  1. hi!, everyone! i have a problem about 1-wire master module on tiva c, i don't know how to config the pin for 1-wire ? any examples about 1-wire master module are so helpful to me, thank a lot!
  2. tks a lot!, sorry for this inconvenience !! =.=!
  3. hi! i'm doing a project about security home and i consider how to reset Tiva C by sorfware. it mean the kit can automatically reset itself????. that's great if it's possible!!! help me!! your commets are very helpful to me!!!!!
  4. hi, everyone, i need some help from you, i have a problem with writing and reading eeprom in lm4f120, i don't know how to do. your comments is very useful for me, thanks all
  5. cry_viem

    QEI module

    hi! everyone, i have a lm4f120h5qr, i try to code for QEI but it didn't work, may i was wrong or lmf4120h5qr have no QEI module ? help me please, i'm newbie so i may not know a lot of thing. here is my code #include "inc/hw_types.h" #include "inc/hw_memmap.h" #include "inc/hw_gpio.h" #include "driverlib/sysctl.h" #include "driverlib/pin_map.h" #include "driverlib/gpio.h" #include "driverlib/qei.h" int pos; void main(void) { //set system clock SysCtlClockSet(SYSCTL_SYSDIV_4|SYSCTL_USE_PLL|SYSCTL_XTAL_16MHZ|SYSCTL_OSC_MAIN); //enable qei0 module SysCtlPeripheralEnable(SYSCTL_PERIPH
  6. hi! everyone, i am learning about QEI module of LM4F120H5QR, Let me ask: Do i need a interface circuit to connect the encoder signal and QEI pin of LM4F120? And if i need one, please help me made it? tks a lot!!!!!!!!
  7. cry_viem


    hi everyone,i'm a newbie, i have a trouble when i code for interrupt pin pf0 to toggle led at pf2, it doesn't work when i press button, help me plz!, i use lm4f120xl, tks a lot, here r my code: #include "inc/hw_memmap.h" #include "inc/hw_types.h" #include "driverlib/sysctl.h" #include "driverlib/gpio.h" #include "driverlib/interrupt.h" void pressing(void) { GPIOPinWrite(GPIO_PORTF_BASE,GPIO_PIN_2,~GPIOPinRead(GPIO_PORTF_BASE,0xff)); // toggle led pf2 SysCtlDelay(16000); // anti-noise } void main(void) { SysCtlClockSet(SYSCTL_SYSDIV_4|SYSCTL_USE_PLL|SYSCTL_XTAL_16M
  • Create New...