Find Jobs
Hire Freelancers

Raspberry gpio & pigpio & nrf24l01+

$10-30 USD

완료함
게시됨 5년 이상 전

$10-30 USD

제출할때 지불됩니다
Hello, I have two different python codes. (1) The 1st one is to control the moving of a very simple robot. The code is like below. Except the first line, all the “gpio” are lower cases. import [login to view URL] as gpio import time def init(): [login to view URL]([login to view URL]) [login to view URL](19, [login to view URL]) … def forward(tf): init() [login to view URL](19, True) … [login to view URL](tf) [login to view URL]() while (1): forward (4) [login to view URL] (4) (2) For the 2nd python code, I have nrf24l01 device, and I also use pigpio library. The nrf24l01 is to send and to receive data, and the pigpio library is to control some pins to do some works Import [login to view URL] as GPIO From lib_nrf24 import NRF24 Import time Import spidev Import pigpio pi = [login to view URL] () [login to view URL] ([login to view URL]) …. [login to view URL] (message) # this line to send data, AND IT HAS TRACEBACK ERROR …. [login to view URL](receivedMessage, [login to view URL]()) # this line to receive data … The 1st and 2nd codes are working perfectly when they are not coupled together, but when I place them together, it is not working. I change all “gpio” to “GPIO” in the first code before coupling the two codes together but it is still not working. Would you advise me what could be the reason? The error seems related to gpio setting of nrf24l01 device. I get pigpio library from [login to view URL], and nrf24l01 library is from [login to view URL]
프로젝트 ID: 17849279

프로젝트 정보

4 제안서
원격근무 프로젝트
활동 중 6년 전

돈을 좀 벌 생각이십니까?

프리랜서 입찰의 이점

예산 및 기간 설정
작업 결과에 대한 급여 수급
제안의 개요를 자세히 쓰세요
무료로 프로젝트에 신청하고 입찰할 수 있습니다
프로젝트를 수여된 사용자:
사용자 아바타
If they are working separately but not working together, I would expect there are either issues with the pin settings for the GPIO, perhaps they are trying to use the same pins, or something with the variables getting mixed up. If you sent me your full code and could run it showing me the error codes, I can try to help you work through it.
$10 USD 2일에
5.0 (1 건의 리뷰)
0.3
0.3
4 이 프로젝트에 프리랜서들의 평균 입찰은 $39 USD입니다.
사용자 아바타
Hello sir, I have experience in designing electronics circuits and can make your project. i will make your project completely on my side and will deliver a working prototype. I can also develop hardware compatible android and windows based apps. I can show you my previous experience on similar projects. If you wish we can discuss in chat. Thanks
$100 USD 7일에
4.8 (43 건의 리뷰)
6.7
6.7
사용자 아바타
I will make this project quickly and efficiently. I have experience in IoT more than 5 years. Thank You
$10 USD 1일에
5.0 (1 건의 리뷰)
2.8
2.8

고객에 대한 정보

국기 (UNITED STATES)
PLEASANTON, United States
5.0
10
결제 수단 확인
8월 1, 2017부터 회원입니다

고객 확인

감사합니다! 무료 크레딧을 신청할 수 있는 링크를 이메일로 보내드렸습니다.
이메일을 보내는 동안 문제가 발생했습니다. 다시 시도해 주세요.
등록 사용자 전체 등록 건수(일자리)
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
미리 보기 화면을 준비 중...
위치 정보 관련 접근권이 허용되었습니다.
고객님의 로그인 세션이 만료되어, 자동으로 로그아웃 처리가 되었습니다. 다시 로그인하여 주십시오.