Jump to content

blprasad

Members
  • Posts

    27
  • Joined

  • Last visited

Everything posted by blprasad

  1. Hi All, I am trying to interface LCD display JHD 204A to my Orange Pi zero. My display characters on LCD display are not consistant . So I tried to verify the ouputs of correponding gpio pins. I suspect some problem at pin 13 on my Pi zero board(pin I used for LCD). The pin 13 is mapped to GPIO PA02 ,I am using gpio_lib.c for my application. Following is my test code. int main(){ sunxi_gpio_init(); sunxi_gpio_set_cfgpin(SUNXI_GPA(02), SUNXI_GPIO_OUTPUT); while(1) { sunxi_gpio_output(SUNXI_GPA(02), 1);printf(" high\n"); sleep(1); sunxi_gpio_output(SUNXI_GPA(02), 0);printf("low\n"); sleep(1); } return 0; } My preliminary observation is as following. I am testing the pin13 voltage with a multimeter. I get the reading in multimeter as nearly 3 volts during "high" then it switches back to 0 volts during "low", but this is not repetitive as it need to be. Sometimes the pin stays at 3 volts for longer duration than expected. Has anyone found similar problem with the GPIO pins while using gpio_lib.c , any help is appriciated Thanks in advance,
  2. Hi All, I am trying to run Toxcore tests on OrangPi Zero inorder to run a tox client on this board. So far I tried clone git repositories of libsodium and opus. I did make and make install for both of them .I did not find any issues in installing them. I built them on OrangePi itself. I did not pass any crosscompiler prefixes to ./configure command while building them.My doubt is ,are these libraries compiled with armgcc or normal gcc ? I thougt whatever gcc is available on Orangepi is armgcc so I didnot pass any arguments to ./configure while building. make process was simple and passed without any isseus for bot libsodium and opus.But when I try to compile toxcore lib Opus in not picked by configure of toxcore. So its not building any auto test examples for audio call. Has anyone tried any tox installation on orange pi so far? Someone Please help me in this regard, thanks in advance ,and excuse me for any typo errors Blprasad
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines