Hello.
It's not my collage assignment. I just want to learn the beaglebone
for curiosity. So i want to generate the clock on pin P8_8 (timer7)
beaglebone.
For this i write python code...
import Adafruit_BBIO.GPIO as GPIO
import time
outpin="P8_8"
GPIO.setup(outpin,GPIO.OUT)
GPIO.setclock(outpin,3000)
while True:
GPIO.output(outpin,GPIO.HIGH)
time.sleep(2)
GPIO.output(outpin,GPIO.LOW)
time.sleep(2)
----------------------------------------------
But there is not any library for timer.so i am not getting anything.
after searching i find the term DMTimer to generate clock for beaglebone
but i dont know how to do it.
so please guide me step by step.
Thanking you.
On Wed, Jan 30, 2019 at 4:11 AM 'Mark Lazarewicz' via BeagleBoard <
[email protected]> wrote:
> Sorry Dennis I guess I'm not very tactful. I'll try and rephrase.
> Doesn't programming any internal microprocessor registers start with the
> TRM programming in any language? I can't comprehend not reading the TRM
> then using a bunch of library functions in some code I found without
> understanding what the code is doing. I guess if it works and you don't
> care about how it works that's fine. I've always been fascinated with the
> details of the registers.these newer chips are quite complex and reading
> the relavent chapter takes some time and can be daunting but I always
> figured that was how you really understood the low level
>
> Sent from Yahoo Mail on Android
> <https://overview.mail.yahoo.com/mobile/?.src=Android>
>
> On Tue, Jan 29, 2019 at 1:16 PM, Dennis Lee Bieber
> <[email protected]> wrote:
> On Tue, 29 Jan 2019 18:55:49 +0000 (UTC), "'Mark Lazarewicz' via
> BeagleBoard" <[email protected]>
> declaimed the following:
>
> >DennisI think he wants you to code his college assignment for him and he
> doesn't wanna read the TRM.They used to give code examples in TRM today's
> future engineers I'm getting scared?
> >
>
> No doubt -- but that I don't provide (I haven't read enough of the TRM
> to even attempt this using C).
>
> My normal response is "how would you do that in C?" and then maybe
> assist in porting the C to Python.
>
>
> --
> Wulfraed Dennis Lee Bieber AF6VN
> [email protected] HTTP://wlfraed.home.netcom.com/
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/ah915et5l7b340l0mi95cm7teaeiudg7qe%404ax.com
> .
> For more options, visit https://groups.google.com/d/optout.
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "BeagleBoard" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/beagleboard/znMvwYwvrgY/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/1338123516.629027.1548801671823%40mail.yahoo.com
> <https://groups.google.com/d/msgid/beagleboard/1338123516.629027.1548801671823%40mail.yahoo.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/beagleboard/CAC6i%3DDLPik5vQzeoJ3VOcGCqRMuuxiebtv700-iysR%3D%3DyL%3Do9Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.